]> git.karo-electronics.de Git - linux-beck.git/commit
Bluetooth: Add missing QUIRK_NO_RESET test to hci_dev_do_close
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 3 Feb 2012 19:29:40 +0000 (21:29 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 13 Feb 2012 15:01:34 +0000 (17:01 +0200)
commit8af59467412b4b61850d3ccb3737c09ecc6dc100
tree602bcf2ebbc6f1b6152cc92f2fcdf87b0fb6325f
parent63d2bc1b9a4d77f90b9719c3ff2570a274a7a22f
Bluetooth: Add missing QUIRK_NO_RESET test to hci_dev_do_close

We should only perform a reset in hci_dev_do_close if the
HCI_QUIRK_NO_RESET flag is set (since in such a case a reset will not be
performed when initializing the device).

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