]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Introduce hci_dev_test_and_set_flag helper macro
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 13 Mar 2015 09:11:06 +0000 (02:11 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 13 Mar 2015 10:09:33 +0000 (12:09 +0200)
commit7eaf260b7fd188d0318b25c102b9baa6115a7cf0
treebdeac71cdc22c7594e29df3daf678a486d048c4f
parentd1fa5b0f2ebb0ab6b0cd8278e05ca0306c24e2d8
Bluetooth: Introduce hci_dev_test_and_set_flag helper macro

Instead of manually coding test_and_set_bit on hdev->dev_flags all the
time, use hci_dev_test_and_set_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/hci_core.c
net/bluetooth/hci_sock.c
net/bluetooth/mgmt.c