summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/hsomodem/gprs-context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hsomodem/gprs-context.c b/drivers/hsomodem/gprs-context.c
index a08dc8b1..7ade32e8 100644
--- a/drivers/hsomodem/gprs-context.c
+++ b/drivers/hsomodem/gprs-context.c
@@ -216,7 +216,7 @@ static void owandata_cb(gboolean ok, GAtResult *result, gpointer user_data)
g_at_result_iter_init(&iter, result);
- if (g_at_result_iter_next(&iter, "_OWANCALL:") == FALSE)
+ if (g_at_result_iter_next(&iter, "_OWANDATA:") == FALSE)
return;
g_at_result_iter_next_number(&iter, &cid);
@@ -263,7 +263,7 @@ static void owancall_notifier(GAtResult *result, gpointer user_data)
ofono_debug("HSO Context: connected");
- sprintf(buf, "AT_OWANDATA=%u,", gcd->active_context);
+ sprintf(buf, "AT_OWANDATA=%u", gcd->active_context);
g_at_chat_send(gcd->chat, buf, owandata_prefix,
owandata_cb, gc, NULL);