From 9f7089874b304f036358716a304bbfb2c869297b Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Mon, 23 Feb 2009 22:47:42 +0200 Subject: Close the correct GIOCHannel in avdtp_close_resp avdtp_close_resp should close the stream and not the signaling channel --- audio/avdtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/avdtp.c b/audio/avdtp.c index 8b926a46..95e5d178 100644 --- a/audio/avdtp.c +++ b/audio/avdtp.c @@ -2327,7 +2327,7 @@ static gboolean avdtp_close_resp(struct avdtp *session, avdtp_sep_set_state(session, sep, AVDTP_STATE_CLOSING); - g_io_channel_shutdown(session->io, TRUE, NULL); + g_io_channel_shutdown(stream->io, TRUE, NULL); return TRUE; } -- cgit