summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2012-08-28 21:57:35 +0200
committerPaul Kocialkowski <contact@paulk.fr>2012-08-28 21:57:35 +0200
commit481dc355f29f8f185e36acc900bcf9d23e4e4c00 (patch)
treef1399160dd7b6a1a18031021c40cf332adbe816d
parentdcd91017bc4bba3db4bb8e83415bb46059852048 (diff)
downloadhardware_ril_samsung-ril-481dc355f29f8f185e36acc900bcf9d23e4e4c00.zip
hardware_ril_samsung-ril-481dc355f29f8f185e36acc900bcf9d23e4e4c00.tar.gz
hardware_ril_samsung-ril-481dc355f29f8f185e36acc900bcf9d23e4e4c00.tar.bz2
Cosmetics: removed lines with tabs or spaces
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
-rw-r--r--call.c2
-rw-r--r--client.c2
-rw-r--r--gprs.c4
-rw-r--r--misc.c2
-rw-r--r--net.c4
-rw-r--r--samsung-ril.h2
-rw-r--r--sec.c6
-rw-r--r--sms.c8
-rw-r--r--ss.c2
-rw-r--r--util.c4
10 files changed, 18 insertions, 18 deletions
diff --git a/call.c b/call.c
index 39e4b02..8a7f8cf 100644
--- a/call.c
+++ b/call.c
@@ -135,7 +135,7 @@ void ril_request_dial(RIL_Token t, void *data, size_t datalen)
memcpy(call.number, dial->address, strlen(dial->address));
ipc_fmt_send(IPC_CALL_OUTGOING, IPC_TYPE_EXEC, (unsigned char *) &call, sizeof(call), reqGetId(t));
-
+
/* FIXME: This should actually be sent based on the response from baseband */
RIL_onRequestComplete(t, RIL_E_SUCCESS, NULL, 0);
}
diff --git a/client.c b/client.c
index ee3e0bc..19b2620 100644
--- a/client.c
+++ b/client.c
@@ -179,7 +179,7 @@ int ril_client_thread_start(struct ril_client *client)
pthread_attr_init(&attr);
pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
-
+
rc = pthread_create(&(client->thread), &attr, ril_client_thread, (void *) client);
if(rc != 0) {
diff --git a/gprs.c b/gprs.c
index d530628..bc75c7b 100644
--- a/gprs.c
+++ b/gprs.c
@@ -478,7 +478,7 @@ int ipc_gprs_connection_enable(struct ril_gprs_connection *gprs_connection,
(ip_configuration->ip)[3]);
// FIXME: subnet isn't reliable!
asprintf(&subnet_mask, "255.255.255.255");
-
+
asprintf(&dns1, "%i.%i.%i.%i",
(ip_configuration->dns1)[0],
(ip_configuration->dns1)[1],
@@ -553,7 +553,7 @@ int ipc_gprs_connection_enable(struct ril_gprs_connection *gprs_connection,
setup_data_call_response->address = ip;
free(gateway);
#endif
-
+
free(subnet_mask);
free(dns1);
free(dns2);
diff --git a/misc.c b/misc.c
index b6d70bc..0bc0054 100644
--- a/misc.c
+++ b/misc.c
@@ -167,7 +167,7 @@ void ipc_misc_me_version(struct ipc_message_info *info)
if(ril_state.tokens.baseband_version != t)
LOGE("Baseband tokens mismatch (0x%p and 0x%p)",
ril_state.tokens.baseband_version, t);
-
+
memcpy(sw_version, version->sw_version, 32);
sw_version[32] = '\0';
diff --git a/net.c b/net.c
index 24b27e3..c22451d 100644
--- a/net.c
+++ b/net.c
@@ -800,10 +800,10 @@ void ipc_net_plmn_sel(struct ipc_message_info *info)
if (!info)
return;
-
+
if (!info->data || info->length < sizeof(struct ipc_net_plmn_sel_get))
return;
-
+
plmn_sel = (struct ipc_net_plmn_sel_get *) info->data;
ril_mode = ipc2ril_plmn_sel(plmn_sel->plmn_sel);
RIL_onRequestComplete(reqGetToken(info->aseq),
diff --git a/samsung-ril.h b/samsung-ril.h
index 45e0e44..e37fc35 100644
--- a/samsung-ril.h
+++ b/samsung-ril.h
@@ -147,7 +147,7 @@ void ril_tokens_check(void);
/**
* RIL state
*/
-
+
typedef enum {
SIM_ABSENT = 0,
SIM_NOT_READY = 1,
diff --git a/sec.c b/sec.c
index a6b24b6..a9abb03 100644
--- a/sec.c
+++ b/sec.c
@@ -83,7 +83,7 @@ void ril_state_update(SIM_Status status)
/* If power mode isn't at least normal, don't update RIL state */
if(ril_state.power_mode < POWER_MODE_NORMAL)
return;
-
+
ril_state.sim_status = status;
switch(status) {
@@ -107,7 +107,7 @@ void ril_state_update(SIM_Status status)
radio_state = RADIO_STATE_SIM_NOT_READY;
break;
}
-
+
ril_state.radio_state = radio_state;
@@ -529,7 +529,7 @@ void ipc_sec_phone_lock(struct ipc_message_info *info)
{
int status;
struct ipc_sec_phone_lock_response *lock = (struct ipc_sec_phone_lock_response *) info->data;
-
+
status = lock->status;
RIL_onRequestComplete(reqGetToken(info->aseq), RIL_E_SUCCESS, &status, sizeof(status));
diff --git a/sms.c b/sms.c
index 7a21ae3..9674d08 100644
--- a/sms.c
+++ b/sms.c
@@ -124,7 +124,7 @@ int ril_request_sms_new(void)
if(id < 0) {
LOGE("The SMS queue is full, removing the oldest req");
-
+
/* Free the request at index 0 (oldest) */
ril_request_sms_del(0);
@@ -250,7 +250,7 @@ void ril_request_send_sms(RIL_Token t, void *data, size_t datalen)
ril_request_sms_add(reqGetId(t), pdu, pdu_len, NULL, 0);
ipc_fmt_send_get(IPC_SMS_SVC_CENTER_ADDR, reqGetId(t));
-
+
} else {
ril_request_send_sms_complete(t, pdu, smsc);
}
@@ -387,7 +387,7 @@ void ril_request_send_sms_complete(RIL_Token t, char *pdu, char *smsc)
int pdu_tp_udh_index = pdu_tp_da_index + pdu_tp_da_len;
unsigned char pdu_tp_udh_len = pdu_dec[pdu_tp_udh_index];
-
+
if(pdu_tp_udh_len > 0xff / 2 || pdu_tp_udh_len < 5) {
LOGE("PDU TP-UDH Len failed (0x%x)\n", pdu_tp_udh_len);
goto pdu_end;
@@ -510,7 +510,7 @@ void ipc_sms_send_msg(struct ipc_message_info *info)
{
struct ipc_sms_deliv_report_msg *report_msg = (struct ipc_sms_deliv_report_msg *) info->data;
RIL_SMS_Response response;
-
+
RIL_Errno ril_ack_err;
LOGD("Got ACK for msg_tpid #%d\n", report_msg->msg_tpid);
diff --git a/ss.c b/ss.c
index 3201a21..3a71ddd 100644
--- a/ss.c
+++ b/ss.c
@@ -135,7 +135,7 @@ void ril_request_cancel_ussd(RIL_Token t, void *data, size_t datalen)
ussd.state = IPC_SS_USSD_TERMINATED_BY_NET;
ril_state.ussd_state = IPC_SS_USSD_TERMINATED_BY_NET;
-
+
ipc_gen_phone_res_expect_to_complete(reqGetId(t), IPC_SS_USSD);
ipc_fmt_send(IPC_SS_USSD, IPC_TYPE_EXEC, (void *) &ussd, sizeof(ussd), reqGetId(t));
diff --git a/util.c b/util.c
index 9c08c5a..e8481bf 100644
--- a/util.c
+++ b/util.c
@@ -120,7 +120,7 @@ int gsm72ascii(unsigned char *data, char **data_dec, int length)
}
*data_dec = dec;
-
+
return dec_length;
}
@@ -170,7 +170,7 @@ int ascii2gsm7(char *data, unsigned char **data_enc, int length)
//FIXME: what is going on here?
enc[enc_length - 2] |= 0x30;
enc[enc_length - 1] = 0x02;
-
+
return enc_length;
}