summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/bpa10x.c
diff options
context:
space:
mode:
authorSzymon Janc <szymon.janc@tieto.com>2012-05-23 12:35:46 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-06-05 06:34:06 +0300
commita6c511c636848f871f5b7aef38e25e5b894b3b48 (patch)
tree847b421858d21575ff61c02c83e92497d97b92d5 /drivers/bluetooth/bpa10x.c
parent38351c66e407e610283e5332b819822055db473c (diff)
downloadop-kernel-dev-a6c511c636848f871f5b7aef38e25e5b894b3b48.zip
op-kernel-dev-a6c511c636848f871f5b7aef38e25e5b894b3b48.tar.gz
Bluetooth: Rename HCI_QUIRK_NO_RESET to HCI_QUIRK_RESET_ON_CLOSE
HCI_QUIRK_NO_RESET name is misleading - purpose of this quirk is to reset device on close instead of init, not to not reset at all. Rename it to HCI_QUIRK_RESET_ON_CLOSE to avoid confusion. Signed-off-by: Szymon Janc <szymon.janc@tieto.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/bpa10x.c')
-rw-r--r--drivers/bluetooth/bpa10x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/bpa10x.c b/drivers/bluetooth/bpa10x.c
index 609861a..29caaed 100644
--- a/drivers/bluetooth/bpa10x.c
+++ b/drivers/bluetooth/bpa10x.c
@@ -470,7 +470,7 @@ static int bpa10x_probe(struct usb_interface *intf, const struct usb_device_id *
hdev->flush = bpa10x_flush;
hdev->send = bpa10x_send_frame;
- set_bit(HCI_QUIRK_NO_RESET, &hdev->quirks);
+ set_bit(HCI_QUIRK_RESET_ON_CLOSE, &hdev->quirks);
err = hci_register_dev(hdev);
if (err < 0) {
OpenPOWER on IntegriCloud