]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Introduce hci_dev_test_and_change_flag helper macro
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 13 Mar 2015 09:11:04 +0000 (02:11 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 13 Mar 2015 10:09:31 +0000 (12:09 +0200)
commit355f1364043c53e32e9099f7b19dc7d1945237cd
treeeba64aa5bbf4eef7c14058ca4fc59c37324f89c9
parent7d807b136f463feba7aeeca40797f679d571d86d
Bluetooth: Introduce hci_dev_test_and_change_flag helper macro

Instead of manually coding test_and_change_bit on hdev->dev_flags all the
time, use hci_dev_test_and_change_flag helper macro.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
include/net/bluetooth/hci_core.h
net/bluetooth/mgmt.c