Bluetooth: bnep: Fix lost wakeup of session thread
authorPeter Hurley <peter@hurleysoftware.com>
Sun, 24 Jul 2011 04:11:07 +0000 (00:11 -0400)
committerJaikumar Ganesh <jaikumar@google.com>
Tue, 2 Aug 2011 22:11:00 +0000 (15:11 -0700)
commit1a86ece6587209ab1c941e2fea6ff4943a49cc0b
tree8a95569f55f7b34e5d162fde90de29e41f82baf8
parentd7581077a3dec95d77ea5c343eb51e4ad6d44968
Bluetooth: bnep: Fix lost wakeup of session thread

Fix race condition which can result in missing the wakeup intended
to stop the session thread.

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