Bluetooth: bnep: Fix lost wakeup of session thread
authorPeter Hurley <peter@hurleysoftware.com>
Sun, 24 Jul 2011 04:11:07 +0000 (00:11 -0400)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 11 Aug 2011 22:50:26 +0000 (19:50 -0300)
commit38d57555616afcdad7381b02b523d494327494cd
tree7e1acedb545e0490f1a5cf366d3ab57c05ab910a
parent552b0d3cb9ff648aa503011ef50ca24019cd0f5f
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