]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - net/bluetooth/hci_core.c
Bluetooth: Send HCI Reset command by default on device initialization
[mirror_ubuntu-zesty-kernel.git] / net / bluetooth / hci_core.c
index 7bb0f1cb7f2655a70ea3342ad21078fcf94730f2..fa7c5370b556619b33dcd0a13e5499bcf459e14c 100644 (file)
@@ -205,7 +205,7 @@ static void hci_init_req(struct hci_dev *hdev, unsigned long opt)
        /* Mandatory initialization */
 
        /* Reset */
-       if (test_bit(HCI_QUIRK_RESET_ON_INIT, &hdev->quirks))
+       if (!test_bit(HCI_QUIRK_NO_RESET, &hdev->quirks))
                        hci_send_cmd(hdev, HCI_OP_RESET, 0, NULL);
 
        /* Read Local Supported Features */