summaryrefslogtreecommitdiffstats
path: root/src/radio-settings.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-10-27 22:16:57 -0500
committerDenis Kenzior <denkenz@gmail.com>2010-10-27 22:26:15 -0500
commitbef003059ea344bab4d3e34b34083174694b720f (patch)
treecad38de4cd80bc5f31bba6fe62abe3008ad8b170 /src/radio-settings.c
parent107f6ee731cb097615221d42559b84838a6b7dcc (diff)
downloadofono-bef003059ea344bab4d3e34b34083174694b720f.tar.bz2
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.
Diffstat (limited to 'src/radio-settings.c')
-rw-r--r--src/radio-settings.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/radio-settings.c b/src/radio-settings.c
index cb0a598f..eb2a42d0 100644
--- a/src/radio-settings.c
+++ b/src/radio-settings.c
@@ -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,