]> 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)
commitb128ab583447957afe3e2d7c8e8020217439a8ce
tree843217afaf839520687b9ce8de302e53a563799d
parentd99d312d0647ceff5bcde1287c963c9d36cc2faa
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