Bluetooth: rfcomm: Fix lost wakeups waiting to accept socket
authorPeter Hurley <peter@hurleysoftware.com>
Sun, 24 Jul 2011 04:10:41 +0000 (00:10 -0400)
committerJaikumar Ganesh <jaikumar@google.com>
Tue, 2 Aug 2011 22:09:52 +0000 (15:09 -0700)
commite7a40bf27d18c354efde02a9c9fd98669c21852b
tree9d81a4b7254cdb4a690392fbad09bc083b475956
parenta2aa662790e678c85611c93749819e2a51b6591b
Bluetooth: rfcomm: Fix lost wakeups waiting to accept socket

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

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