diff options
author | Denis Kenzior <denis.kenzior@intel.com> | 2009-10-24 12:19:12 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-10-24 12:39:31 -0500 |
commit | 1a80f85994aa59c6acdc41613a6beb098b68d507 (patch) | |
tree | 1bdd1dd5621f1081e8270347d679eb09bca921db | |
parent | 0bf14015891a1b75e5ffce5077ad2714cca910af (diff) | |
download | ofono-1a80f85994aa59c6acdc41613a6beb098b68d507.tar.bz2 |
Fix: ENAP=0 is the only way to use this
-rw-r--r-- | drivers/mbmmodem/gprs-context.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/mbmmodem/gprs-context.c b/drivers/mbmmodem/gprs-context.c index 3acaccfc..0b01a31d 100644 --- a/drivers/mbmmodem/gprs-context.c +++ b/drivers/mbmmodem/gprs-context.c @@ -155,16 +155,13 @@ static void mbm_gprs_deactivate_primary(struct ofono_gprs_context *gc, { struct gprs_context_data *gcd = ofono_gprs_context_get_data(gc); struct cb_data *cbd = cb_data_new(cb, data); - char buf[64]; if (!cbd) goto error; cbd->user = gc; - sprintf(buf, "AT*ENAP=0,%u", cid); - - if (g_at_chat_send(gcd->chat, buf, none_prefix, + if (g_at_chat_send(gcd->chat, "AT*ENAP=0", none_prefix, at_enap_down_cb, cbd, g_free) > 0) return; |