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)
committerJaikumar Ganesh <jaikumar@google.com>
Tue, 2 Aug 2011 22:10:23 +0000 (15:10 -0700)
commit4e20b5e19642c9f87cc07c50e439493a4e0be787
tree538416870eec792977fbb80266bec512dd184bd0
parentf0ec22eebf93341763356aefb64f7e2100a70fdb
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