Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH] telephony-maemo6: fix not cleaning up network status on exit
@ 2011-02-16 14:38 Luiz Augusto von Dentz
  2011-02-16 19:04 ` Johan Hedberg
  0 siblings, 1 reply; 2+ messages in thread
From: Luiz Augusto von Dentz @ 2011-02-16 14:38 UTC (permalink / raw)
  To: linux-bluetooth

From: Luiz Augusto von Dentz <luiz.dentz-von@nokia.com>

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(-)

diff --git a/audio/telephony-maemo6.c b/audio/telephony-maemo6.c
index bf1e0c4..b0f314c 100644
--- a/audio/telephony-maemo6.c
+++ b/audio/telephony-maemo6.c
@@ -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;
 
-- 
1.7.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] telephony-maemo6: fix not cleaning up network status on exit
  2011-02-16 14:38 [PATCH] telephony-maemo6: fix not cleaning up network status on exit Luiz Augusto von Dentz
@ 2011-02-16 19:04 ` Johan Hedberg
  0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2011-02-16 19:04 UTC (permalink / raw)
  To: Luiz Augusto von Dentz; +Cc: linux-bluetooth

Hi Luiz,

On Wed, Feb 16, 2011, Luiz Augusto von Dentz wrote:
> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-16 19:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-16 14:38 [PATCH] telephony-maemo6: fix not cleaning up network status on exit Luiz Augusto von Dentz
2011-02-16 19:04 ` Johan Hedberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox