mirror of git://git.sysmocom.de/ofono
call-settings: Fix style issues
This commit is contained in:
parent
6c2099fd8e
commit
d1de85e5a4
|
@ -719,8 +719,14 @@ static gboolean clir_ss_control(int type,
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
if ((type == SS_CONTROL_TYPE_QUERY && !cs->driver->clir_query) ||
|
||||
(type != SS_CONTROL_TYPE_QUERY && !cs->driver->clir_set)) {
|
||||
if (type == SS_CONTROL_TYPE_QUERY && cs->driver->clir_query == NULL) {
|
||||
DBusMessage *reply = __ofono_error_not_implemented(msg);
|
||||
g_dbus_send_message(conn, reply);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
if (type != SS_CONTROL_TYPE_QUERY && !cs->driver->clir_set) {
|
||||
DBusMessage *reply = __ofono_error_not_implemented(msg);
|
||||
g_dbus_send_message(conn, reply);
|
||||
|
||||
|
|
Loading…
Reference in New Issue