Bluetooth: Remove unneeded mgmt_write_scan_failed function
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 10 Jul 2014 09:09:09 +0000 (12:09 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 10 Jul 2014 09:14:20 +0000 (11:14 +0200)
commit13a779e42251184d0f53a8f8299ced614faa028f
treea51d25cb750a46bf9b72cc13eb09918984806f1f
parentbc6d2d04182877b198c1a945b7c401decbbb8c02
Bluetooth: Remove unneeded mgmt_write_scan_failed function

The Set Connectable/Discoverable mgmt handlers use a hci_request with a
proper callback to handle the HCI command sending. It makes therefore
little sense to have this extra function to be called from hci_event.c
for command failures.

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_event.c
net/bluetooth/mgmt.c