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:
Denis Kenzior 2010-10-27 22:16:57 -05:00
parent 107f6ee731
commit bef003059e
1 changed files with 1 additions and 2 deletions

View File

@ -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,