Bluetooth: Take advantage of connection abort helpers
authorJohan Hedberg <johan.hedberg@intel.com>
Thu, 22 Oct 2015 07:49:38 +0000 (10:49 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 22 Oct 2015 09:37:22 +0000 (11:37 +0200)
commit89e0ccc882c47a4553698a580bec70cd90bc6319
treee60dc5ee2475cb59e83f64a5620d163d07be9cef
parentdcc0f0d9ce839e1cc97b95d9dac364047bd1b975
Bluetooth: Take advantage of connection abort helpers

Convert the various places mapping connection state to
disconnect/cancel HCI command to use the new hci_abort_conn helper
API.

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