]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6aa1f7e40cd72973ffd238bb61258fd6c5ead561
tree843217afaf839520687b9ce8de302e53a563799d
parent6ce5c10bd71eb8f13ddd43d08edf8ad3f3b776e5
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