diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-01-12 10:28:37 -0600 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-01-12 17:54:37 -0600 |
commit | 9bed04ca2f3c2c00de34968b88544346cc07afdb (patch) | |
tree | ca9a20176240ca36e05f911454b5ad49ca23136b /drivers/mbmmodem/gprs-context.c | |
parent | bb0dfd9b6db108b3fbf773ec515e393cb5240969 (diff) | |
download | ofono-9bed04ca2f3c2c00de34968b88544346cc07afdb.tar.bz2 |
Style: Trailing whitespace & extra lines
Diffstat (limited to 'drivers/mbmmodem/gprs-context.c')
-rw-r--r-- | drivers/mbmmodem/gprs-context.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mbmmodem/gprs-context.c b/drivers/mbmmodem/gprs-context.c index d783c855..bbe7a9ad 100644 --- a/drivers/mbmmodem/gprs-context.c +++ b/drivers/mbmmodem/gprs-context.c @@ -147,7 +147,7 @@ static void mbm_get_ip_details(struct ofono_gprs_context *gc) { struct gprs_context_data *gcd = ofono_gprs_context_get_data(gc); struct ofono_modem *modem; - const char *interface; + const char *interface; if (gcd->have_e2ipcfg) { g_at_chat_send(gcd->chat, "AT*E2IPCFG?", e2ipcfg_prefix, @@ -253,13 +253,13 @@ static void at_enap_down_cb(gboolean ok, GAtResult *result, gpointer user_data) struct ofono_gprs_context *gc = cbd->user; struct gprs_context_data *gcd = ofono_gprs_context_get_data(gc); struct ofono_error error; - + /* Now we have to wait for the unsolicited notification to arrive */ if (ok && gcd->enap != 0) { gcd->mbm_state = MBM_DISABLING; gcd->down_cb = cb; gcd->cb_data = cbd->data; - + if (gcd->have_e2nap == FALSE) g_at_chat_send(gcd->chat, "AT*ENAP?", enap_prefix, mbm_enap_poll_cb, gc, NULL); @@ -356,7 +356,7 @@ static void mbm_gprs_activate_primary(struct ofono_gprs_context *gc, if (g_at_chat_send(gcd->chat, buf, none_prefix, NULL, NULL, NULL) == 0) goto error; - + len = sprintf(buf, "AT+CGDCONT=%u,\"IP\"", ctx->cid); if (ctx->apn) |