OSDN Git Service

avctp: Fix request timeout after a channel is destroyed
authorAlexandros Antonopoulos <alexandros.antonopoulos@oss.bmw-carit.de>
Mon, 21 Jan 2013 13:44:27 +0000 (14:44 +0100)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 21 Jan 2013 15:53:18 +0000 (17:53 +0200)
commitd23fb32b8ef6acb29dded0e007dc8df13f7bac5e
treeb70d2a7eb08c23136824a5bb6eebee0e4a7fecd9
parent879efa424a1e984a22fe519de0d4f8b9c8cccdcf
avctp: Fix request timeout after a channel is destroyed

When the control channel is destroyed if there is a pending request
(chan->p) then the channel queue is deleted in avctp_channel_destroy
but the timer is still alive resulting in a SIGSEGV
profiles/audio/avctp.c