Bluetooth: sco: Fix lost wakeups waiting to accept socket
authorPeter Hurley <peter@hurleysoftware.com>
Sun, 24 Jul 2011 04:11:01 +0000 (00:11 -0400)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 11 Aug 2011 22:50:26 +0000 (19:50 -0300)
commit552b0d3cb9ff648aa503011ef50ca24019cd0f5f
treeb9ae549982b6768f6792fa99c1aa816ae8c8f819
parentf9a3c20aa07462108fc6fd759dea956053f020bb
Bluetooth: sco: Fix lost wakeups waiting to accept socket

Fix race conditions which can cause lost wakeups (or missed signals)
while waiting to accept a sco socket connection.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/sco.c