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

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

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