]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Remove unneeded mgmt_connectable function
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 10 Jul 2014 09:09:06 +0000 (12:09 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 10 Jul 2014 09:14:20 +0000 (11:14 +0200)
commitc8348512574af2ea266875dc7978b4cc90af9874
tree62f574afedc2f30552496cc6fc371961b039762c
parent6a1be86e510e79c21e0435a8e5e68181b8c6768c
Bluetooth: Remove unneeded mgmt_connectable function

The mgmt_connectable function has been used to ensure that the right
actions to HCI_CONNECTABLE are taken when the HCI_Write_Scan_Enable
command is triggered by something else than mgmt. The only other user
that we really care about is the HCISETSCAN ioctl code, so we can
actually more simply perform the needed changes there instead.

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