]> git.baikalelectronics.ru Git - kernel.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>
Wed, 15 Feb 2012 11:09:26 +0000 (13:09 +0200)
commitd10a6d4d65be41469fe3ab3a1345ed103658202b
tree23c56a6629b63e20c59ba36971fd181d54c02b6d
parent905ddc5de206345bc78832a9d387e22fe0749511
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