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)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 11 Aug 2011 22:50:26 +0000 (19:50 -0300)
commit950e2d51e866623e4c360280aa63b85ab66d3403
tree7852a1ed5415b0e4e2ba328249658edfca2ee0af
parente5842cdb0f4f2c68f6acd39e286e5d10d8c073e8
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