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)
commit031547d8688a0fc5da875b504bf11e6c2e18390e
tree62f574afedc2f30552496cc6fc371961b039762c
parent7fabc0f4c7bd2206c368a79e3ed79b7d36625cfd
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