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:
Denis Kenzior 2020-12-26 11:35:24 -06:00
parent de0d5a19c1
commit 3c8f24769a
1 changed files with 2 additions and 4 deletions

View File

@ -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);