mirror of git://git.sysmocom.de/ofono
telit: Remove unneeded if
This commit is contained in:
parent
ea6cd4e7fd
commit
0b2de27727
|
@ -352,9 +352,7 @@ static void telitncm_gprs_activate_primary(struct ofono_gprs_context *gc,
|
|||
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,
|
||||
setup_cb, gc, NULL) > 0)
|
||||
|
|
Loading…
Reference in New Issue