]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Check status of command complete for HCI_Reset
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 2 Nov 2014 01:45:58 +0000 (02:45 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 2 Nov 2014 07:58:50 +0000 (09:58 +0200)
commit153198ab723235abd4ca374ce2f37755cadcd301
tree846ace1a19d0059ea2a39a750a1a08cebfbab300
parent0e4dbc7ae3b4150ca6fd26a5071db581ea20b9f2
Bluetooth: Check status of command complete for HCI_Reset

When the HCI_Reset command returns, the status needs to be checked. It
is unlikely that HCI_Reset actually fails, but when it fails, it is a
bad idea to reset all values since the controller will have not reset
its values in that case.

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