]> 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>
Thu, 9 Jun 2011 18:30:01 +0000 (15:30 -0300)
commit659b74235f5d09679a6f4c5a3e34870207ef506f
tree6242b01bbbdb5993f30e8301e57486ea2958fd11
parente782145ddc664b86aed16e2a788dfb387e6bb185
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