Bluetooth: Fix check for the ERTM local busy state
authorMat Martineau <mathewm@codeaurora.org>
Fri, 3 Jun 2011 23:21:10 +0000 (16:21 -0700)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 8 Jun 2011 19:58:19 +0000 (16:58 -0300)
commite694928067b52f569a7df39b7f02efd7b34ab8f4
tree3d9f6ac00ab5f525934d6bed824642c72b4e7dae
parentd8d69c54fb8fbb7483180b609f99f2e3e539962b
Bluetooth: Fix check for the ERTM local busy state

Local busy is encoded in a bitfield, but was not masked out correctly.

Signed-off-by: Mat Martineau <mathewm@codeaurora.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/l2cap_core.c