]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: fix shutdown on SCO sockets
authorLuiz Augusto von Dentz <luiz.dentz-von@nokia.com>
Fri, 8 Apr 2011 14:10:41 +0000 (17:10 +0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Mon, 18 Apr 2011 23:11:46 +0000 (20:11 -0300)
commit5e3a563822e1a97203e38a6799f3192bcc97f082
tree995070264806b7cf2dc6d916a8b90f976656c412
parent18cb47791a5343717707ee3493ef16c8d9383789
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