diff options
author | Luiz Augusto von Dentz <luiz.dentz-von@nokia.com> | 2011-02-18 18:24:01 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2011-02-18 13:47:13 -0300 |
commit | de8eb4773a1ac878b1b9b8e7306a3c1f4cfe43eb (patch) | |
tree | a1e51fa0120d3e75522f902695723f77a1c33b6b /audio | |
parent | d8fbf5b42f6a7fff8326b1a69d267640db45b367 (diff) |
telephony-ofono: fix resetting network status and signal
This prevent using status and signal from previous active modem
Diffstat (limited to 'audio')
-rw-r--r-- | audio/telephony-ofono.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/telephony-ofono.c b/audio/telephony-ofono.c index bc8fea24c..0a7f0bdca 100644 --- a/audio/telephony-ofono.c +++ b/audio/telephony-ofono.c @@ -1042,6 +1042,8 @@ static void modem_removed(const char *path) g_free(net.operator_name); net.operator_name = NULL; + net.status = NETWORK_REG_STATUS_NOSERV; + net.signals_bar = 0; g_free(modem_obj_path); modem_obj_path = NULL; |