Bluetooth: Use hci_disconnect() for mgmt_disconnect_device()
authorJohan Hedberg <johan.hedberg@intel.com>
Mon, 18 Aug 2014 17:33:33 +0000 (20:33 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Mon, 8 Sep 2014 17:07:55 +0000 (19:07 +0200)
commite3f2f92a047cd2be3c87a2aaf0a8958e1fd4c17a
tree843217afaf839520687b9ce8de302e53a563799d
parente3b679d56caa2bc555dee646a6ac5861631e7a28
Bluetooth: Use hci_disconnect() for mgmt_disconnect_device()

There's no reason to custom build the HCI_Disconnect command in the
Disconnect Device mgmt command handler. This patch updates the code to
use hci_disconnect() instead.

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