summaryrefslogtreecommitdiffstats
path: root/net/bluetooth/mgmt.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2014-07-10 10:50:27 +0200
committerMarcel Holtmann <marcel@holtmann.org>2014-07-10 10:52:09 +0200
commit7fabc0f4c7bd2206c368a79e3ed79b7d36625cfd (patch)
tree3c7261ab5c2a87b3ef7df3e95f6f55b09d0c782e /net/bluetooth/mgmt.c
parentBluteooth: Reject SMP bonding if HCI_PAIRABLE is not set (diff)
downloadlinux-7fabc0f4c7bd2206c368a79e3ed79b7d36625cfd.tar.xz
linux-7fabc0f4c7bd2206c368a79e3ed79b7d36625cfd.zip
Bluetooth: Fix using test_and_clear instead of test_and_set
The code for updating the HCI_CONNECTABLE flag was incorrectly using test_and_set_bit instead of test_and_clear_bit when HCI_CONNECTABLE is to be cleared. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions