Bluetooth: Add hci_reset_dev() for driver triggerd stack reset
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 2 Nov 2014 07:15:38 +0000 (08:15 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 2 Nov 2014 08:03:45 +0000 (10:03 +0200)
commit75e0569f7fc22272ec5e3b99bf94c6f0ad43b35f
tree2999d19fab98e9fe418ff60739f69fa3d999ef88
parent65efd2bf4885312b42de9829159789199221cc60
Bluetooth: Add hci_reset_dev() for driver triggerd stack reset

Some Bluetooth drivers require to reset the upper stack. To avoid having
all drivers send HCI Hardware Error events, provide a generic function
to wrap the reset functionality.

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