diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2009-02-23 22:47:42 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2009-02-23 22:47:42 +0200 |
commit | 9f7089874b304f036358716a304bbfb2c869297b (patch) | |
tree | 7b3031f08e5f89c086477f1a71be9d7adc8c69c0 | |
parent | 61f55504b41ab595a10edaca4d1a6a4ac1d689b6 (diff) |
Close the correct GIOCHannel in avdtp_close_resp
avdtp_close_resp should close the stream and not the signaling channel
-rw-r--r-- | audio/avdtp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |