Bluetooth: Fix lost wakeups waiting for sock state change
authorPeter Hurley <peter@hurleysoftware.com>
Sun, 24 Jul 2011 04:10:46 +0000 (00:10 -0400)
committerJaikumar Ganesh <jaikumar@google.com>
Tue, 2 Aug 2011 22:10:08 +0000 (15:10 -0700)
commitf0ec22eebf93341763356aefb64f7e2100a70fdb
tree756aaa27c0e65f780d6e6d5d03b540c54eeda557
parente7a40bf27d18c354efde02a9c9fd98669c21852b
Bluetooth: Fix lost wakeups waiting for sock state change

Fix race conditions which can cause lost wakeups while waiting
for sock state to change.

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