mirror of git://git.sysmocom.de/ofono
gprs: pri_set_apn: make reply msg optional
Automatic context activation will set the apn by itself. No dbus message to reply to.
This commit is contained in:
parent
573edbee58
commit
9173d7e2e4
|
@ -965,7 +965,8 @@ static DBusMessage *pri_set_apn(struct pri_context *ctx, DBusConnection *conn,
|
|||
storage_sync(ctx->gprs->imsi, SETTINGS_STORE, settings);
|
||||
}
|
||||
|
||||
g_dbus_send_reply(conn, msg, DBUS_TYPE_INVALID);
|
||||
if (msg)
|
||||
g_dbus_send_reply(conn, msg, DBUS_TYPE_INVALID);
|
||||
|
||||
ofono_dbus_signal_property_changed(conn, ctx->path,
|
||||
OFONO_CONNECTION_CONTEXT_INTERFACE,
|
||||
|
|
Loading…
Reference in New Issue