Bluetooth: Remove unneeded hci_conn_disconnect abstraction
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 27 Jun 2014 11:45:09 +0000 (13:45 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Jul 2014 15:42:48 +0000 (17:42 +0200)
commit40051e4686d6fa8743a38933727604f75bef05cf
tree6ee90f22be3f31e041f154402c7a220a2ceddf89
parenta2b1976b8e0184635a1119f8511fc3e68902e429
Bluetooth: Remove unneeded hci_conn_disconnect abstraction

The abstraction of disconnect operation via hci_conn_disconnect is not
needed and it does not add any readability. Handle the difference of
AMP physical channels and BR/EDR/LE connection in the timeout callback.

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