mirror of git://git.sysmocom.de/ofono
radio-settings: Don't check for cached
Checking for this flag does not have the desired effect, or rather it has other side-effects (e.g. setting the property twice before GetProperties). oFono discourages spurious signal emission.
This commit is contained in:
parent
107f6ee731
commit
bef003059e
|
@ -126,8 +126,7 @@ static void radio_set_fast_dormancy(struct ofono_radio_settings *rs,
|
|||
const char *path = __ofono_atom_get_path(rs->atom);
|
||||
dbus_bool_t value = enable;
|
||||
|
||||
if ((rs->flags & RADIO_SETTINGS_FLAG_CACHED) &&
|
||||
rs->fast_dormancy == enable)
|
||||
if (rs->fast_dormancy == enable)
|
||||
return;
|
||||
|
||||
ofono_dbus_signal_property_changed(conn, path,
|
||||
|
|
Loading…
Reference in New Issue