From bef003059ea344bab4d3e34b34083174694b720f Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Wed, 27 Oct 2010 22:16:57 -0500 Subject: [PATCH] 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. --- src/radio-settings.c | 3 +-- 1 file changed, 1 insertion(+), 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,