]> git.karo-electronics.de Git - linux-beck.git/commit
Bluetooth: Introduce hci_dev_change_flag helper macro
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 13 Mar 2015 09:11:03 +0000 (02:11 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 13 Mar 2015 10:09:29 +0000 (12:09 +0200)
commitce05d603af7c9b5be66a1f3358443e20e2a2ae7a
tree095536c740a1ae211e5adb49a03124a466e4d7f4
parenta358dc11d80ecaca443aa1fd2fd9d4f3425922e7
Bluetooth: Introduce hci_dev_change_flag helper macro

Instead of manually coding change_bit on hdev->dev_flags all the time,
use hci_dev_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