projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0bf1401
)
Fix: ENAP=0 is the only way to use this
author
Denis Kenzior
<denis.kenzior@intel.com>
Sat, 24 Oct 2009 17:19:12 +0000
(12:19 -0500)
committer
Denis Kenzior
<denkenz@gmail.com>
Sat, 24 Oct 2009 17:39:31 +0000
(12:39 -0500)
drivers/mbmmodem/gprs-context.c
patch
|
blob
|
history
diff --git
a/drivers/mbmmodem/gprs-context.c
b/drivers/mbmmodem/gprs-context.c
index
3acaccf
..
0b01a31
100644
(file)
--- 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;