sim: Fix up various coding style violations

This commit is contained in:
Denis Kenzior 2012-03-23 08:12:03 -05:00
parent ad29b6d18f
commit 95e7982938
1 changed files with 24 additions and 23 deletions

View File

@ -112,8 +112,7 @@ static void at_crsm_info_cb(gboolean ok, GAtResult *result, gpointer user_data)
&str, access, NULL);
file_status = EF_STATUS_VALID;
}
else
} else
ok = sim_parse_2g_get_response(response, len, &flen, &rlen,
&str, access, &file_status);
@ -299,7 +298,8 @@ static void at_crsm_update_cb(gboolean ok, GAtResult *result,
}
static void at_sim_update_file(struct ofono_sim *sim, int cmd, int fileid,
int p1, int p2, int p3, const unsigned char *value,
int p1, int p2, int p3,
const unsigned char *value,
ofono_sim_write_cb_t cb, void *data)
{
struct sim_data *sd = ofono_sim_get_data(sim);
@ -349,7 +349,8 @@ error:
}
static void at_sim_update_binary(struct ofono_sim *sim, int fileid,
int start, int length, const unsigned char *value,
int start, int length,
const unsigned char *value,
ofono_sim_write_cb_t cb, void *data)
{
at_sim_update_file(sim, 214, fileid, start >> 8, start & 0xff,
@ -357,19 +358,19 @@ static void at_sim_update_binary(struct ofono_sim *sim, int fileid,
}
static void at_sim_update_record(struct ofono_sim *sim, int fileid,
int record, int length, const unsigned char *value,
int record, int length,
const unsigned char *value,
ofono_sim_write_cb_t cb, void *data)
{
at_sim_update_file(sim, 220, fileid, record, 4,
length, value, cb, data);
at_sim_update_file(sim, 220, fileid, record, 4, length,
value, cb, data);
}
static void at_sim_update_cyclic(struct ofono_sim *sim, int fileid,
int length, const unsigned char *value,
ofono_sim_write_cb_t cb, void *data)
{
at_sim_update_file(sim, 220, fileid, 0, 3,
length, value, cb, data);
at_sim_update_file(sim, 220, fileid, 0, 3, length, value, cb, data);
}
static void at_cimi_cb(gboolean ok, GAtResult *result, gpointer user_data)