Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH BlueZ] Fix calling g_io_channel_shutdown twice for a gateway connection
@ 2011-10-25  8:26 Luiz Augusto von Dentz
  2011-10-25  8:50 ` Johan Hedberg
  0 siblings, 1 reply; 2+ messages in thread
From: Luiz Augusto von Dentz @ 2011-10-25  8:26 UTC (permalink / raw)
  To: linux-bluetooth

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

This happens in the following circumstance:

bluetoothd[30869]: audio/manager.c:hf_io_cb() Authorization denied!

(bluetoothd:30869): GLib-WARNING **: Invalid file descriptor.

Reported by Daniel Wagner <wagi@monom.org>
---
 audio/manager.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/audio/manager.c b/audio/manager.c
index 818451c..3103824 100644
--- a/audio/manager.c
+++ b/audio/manager.c
@@ -607,7 +607,6 @@ static void hf_io_cb(GIOChannel *chan, gpointer data)
 	if (perr < 0) {
 		DBG("Authorization denied!");
 		gateway_set_state(device, GATEWAY_STATE_DISCONNECTED);
-		goto drop;
 	}
 
 	return;
-- 
1.7.6.4


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

end of thread, other threads:[~2011-10-25  8:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-25  8:26 [PATCH BlueZ] Fix calling g_io_channel_shutdown twice for a gateway connection Luiz Augusto von Dentz
2011-10-25  8:50 ` Johan Hedberg

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