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)
commit8761f9d6620b0be6b08f21807568fbbfcbb128d2
tree846ace1a19d0059ea2a39a750a1a08cebfbab300
parent62906710182a7d079a69932a93ebd003caaa7135
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