mirror of git://git.sysmocom.de/ofono
gemalto: Fix compiler error
Fix compiler error introduced due to a bad merge
Fixes: de0d5a19
("gemalto: gprs: support different gprs protocols")
This commit is contained in:
parent
de0d5a19c1
commit
3c8f24769a
|
@ -152,9 +152,7 @@ static void gemalto_gprs_activate_primary(struct ofono_gprs_context *gc,
|
|||
snprintf(buf + len, sizeof(buf) - len - 3, ",\"%s\"", ctx->apn);
|
||||
|
||||
if (g_at_chat_send(gcd->chat, buf, none_prefix,
|
||||
cgdcont_enable_cb, gc, NULL) == 0)
|
||||
goto error;
|
||||
|
||||
cgdcont_enable_cb, gc, NULL) > 0)
|
||||
return;
|
||||
|
||||
CALLBACK_WITH_FAILURE(cb, data);
|
||||
|
|
Loading…
Reference in New Issue