commit | de8eb4773a1ac878b1b9b8e7306a3c1f4cfe43eb | [log] [tgz] |
---|---|---|
author | Luiz Augusto von Dentz <luiz.dentz-von@nokia.com> | Fri Feb 18 18:24:01 2011 +0200 |
committer | Johan Hedberg <johan.hedberg@nokia.com> | Fri Feb 18 13:47:13 2011 -0300 |
tree | a1e51fa0120d3e75522f902695723f77a1c33b6b | |
parent | d8fbf5b42f6a7fff8326b1a69d267640db45b367 [diff] |
telephony-ofono: fix resetting network status and signal This prevent using status and signal from previous active modem
diff --git a/audio/telephony-ofono.c b/audio/telephony-ofono.c index bc8fea2..0a7f0bd 100644 --- a/audio/telephony-ofono.c +++ b/audio/telephony-ofono.c
@@ -1042,6 +1042,8 @@ 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;