mirror of git://git.sysmocom.de/ofono
icera: Remove unneeded if statement
This commit is contained in:
parent
cdcb576692
commit
c13411da6f
|
@ -332,9 +332,7 @@ static void icera_gprs_activate_primary(struct ofono_gprs_context *gc,
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ctx->apn)
|
snprintf(buf + len, sizeof(buf) - len - 3, ",\"%s\"", ctx->apn);
|
||||||
snprintf(buf + len, sizeof(buf) - len - 3,
|
|
||||||
",\"%s\"", ctx->apn);
|
|
||||||
|
|
||||||
if (g_at_chat_send(gcd->chat, buf, none_prefix,
|
if (g_at_chat_send(gcd->chat, buf, none_prefix,
|
||||||
at_cgdcont_cb, cbd, g_free) > 0)
|
at_cgdcont_cb, cbd, g_free) > 0)
|
||||||
|
|
Loading…
Reference in New Issue