]> 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)
commit6a340aa2e2230979f258f874b3fe932661189922
tree846ace1a19d0059ea2a39a750a1a08cebfbab300
parentaa2b660d0b3d700ca02fbbaa33b2927d63d34a7c
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