telephony-maemo6: fix not cleaning up network status on exit
Luiz Augusto von Dentz
maintainerPATCH 1/1 telephony-maemo6: fix not cleaning up network status on exit
From: Luiz Augusto von Dentz <[email protected]>
This may cause indicators to not be reported correctly when adapter is reset.
--- audio/telephony-maemo6.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
audio/telephony-maemo6.c +3 -0
@@ -2025,6 +2025,9 @@ void telephony_exit(void)g_free (net.operator_name); net.operator_name =NULL ; + net.status =NETWORK_REG_STATUS_UNKOWN ; + net.signal_bars =0 ; +g_free (last_dialed_number); last_dialed_number =NULL ;
Signature · 1 line
1.7.1
Hi Luiz,
Quoted 5 lines · Luiz Augusto von Dentz
This may cause indicators to not be reported correctly when adapter is reset.
--- audio/telephony-maemo6.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
This patch has also been pushed upstream, thanks.
Johan