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)
committerJaikumar Ganesh <jaikumar@google.com>
Tue, 2 Aug 2011 22:10:43 +0000 (15:10 -0700)
commitd7581077a3dec95d77ea5c343eb51e4ad6d44968
tree732e9041485fa25192b33538462132f0ef029c3c
parent4e20b5e19642c9f87cc07c50e439493a4e0be787
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