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>
Wed, 15 Feb 2012 11:09:26 +0000 (13:09 +0200)
commitca0d6c7ece0e78268cd7c5c378d6b1b610625085
tree23c56a6629b63e20c59ba36971fd181d54c02b6d
parentcf33e77b76d7439f21a23a94eab4ab3b405a6a7d
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