]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: fix shutdown on SCO sockets
authorLuiz Augusto von Dentz <luiz.dentz-von@nokia.com>
Thu, 12 May 2011 08:13:15 +0000 (11:13 +0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Fri, 10 Jun 2011 18:04:40 +0000 (15:04 -0300)
commita3e1715e39376e43fb23aa2561c1bf12e521b06c
tree99764bd69e391568fd1b43dc90f20ea6493cc354
parentdef586bd93b87eae8dc5c6a8e9fcc49481f1085a
Bluetooth: fix shutdown on SCO sockets

shutdown should wait for SCO link to be properly disconnected before
detroying the socket, otherwise an application using the socket may
assume link is properly disconnected before it really happens which
can be a problem when e.g synchronizing profile switch.

Signed-off-by: Luiz Augusto von Dentz <luiz.dentz-von@nokia.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/sco.c