]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Introduce hci_dev_set_flag helper macro
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 13 Mar 2015 09:11:01 +0000 (02:11 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 13 Mar 2015 10:09:26 +0000 (12:09 +0200)
commit7baa8acac8dcb6e37813ac1d11dff5606e45c11f
treed2ba54c3a9069c3133456b8eeb9d04e58d428a8c
parentec47662e12c049396111525fc84b600725785b2d
Bluetooth: Introduce hci_dev_set_flag helper macro

Instead of manually coding set_bit on hdev->dev_flags all the time,
use hci_dev_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_conn.c
net/bluetooth/hci_core.c
net/bluetooth/hci_event.c
net/bluetooth/hci_request.c
net/bluetooth/mgmt.c