gemalto: Fix compiler error

Fix compiler error introduced due to a bad merge

Fixes: de0d5a19 ("gemalto: gprs: support different gprs protocols")
master
Denis Kenzior 2 years ago
parent de0d5a19c1
commit 3c8f24769a

@ -152,10 +152,8 @@ 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;
return;
cgdcont_enable_cb, gc, NULL) > 0)
return;
CALLBACK_WITH_FAILURE(cb, data);
}

Loading…
Cancel
Save