OSDN Git Service

Bluetooth: Switch HCI H5 driver to use hci_reset_dev() function
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 2 Nov 2014 07:15:39 +0000 (08:15 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 2 Nov 2014 08:03:51 +0000 (10:03 +0200)
commit882809fb724c46b8ebc4de0944e94914ceb94e1c
tree33d68f35c715967571a7235d1132efbcf75989d9
parent75e0569f7fc22272ec5e3b99bf94c6f0ad43b35f
Bluetooth: Switch HCI H5 driver to use hci_reset_dev() function

Instead of having the driver generate the HCI Hardware Error event
manually, just call hci_reset_dev() to trigger the upper stack reset.

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