Skip to content

Commit

Permalink
Bluetooth: btusb: Add reset on close quirk for Intel adapters
Browse files Browse the repository at this point in the history
Intel Bluetooth adapter is not exiting the loopback mode on bluetooth
socket closure. So, when bluetooth socket is opened again, bluetooth is
not working.

As per Bluetooth core specification, bluetooth adapter should exit loop
back mode on hci reset. Add HCI quirk reset to make sure adapter exits
loopback mode on bluetooth socket closure.

Tracked-On: OAM-126126
Signed-off-by: Suresh, Prashanth <[email protected]>
  • Loading branch information
prashanth-intel authored and gowthambabu92 committed Oct 21, 2024
1 parent 4c7d413 commit 7d59d13
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/bluetooth/btintel.c
Original file line number Diff line number Diff line change
Expand Up @@ -3061,6 +3061,7 @@ static int btintel_setup_combined(struct hci_dev *hdev)
}

/* Apply the common HCI quirks for Intel device */
set_bit(HCI_QUIRK_RESET_ON_CLOSE, &hdev->quirks);
set_bit(HCI_QUIRK_STRICT_DUPLICATE_FILTER, &hdev->quirks);
set_bit(HCI_QUIRK_SIMULTANEOUS_DISCOVERY, &hdev->quirks);
set_bit(HCI_QUIRK_NON_PERSISTENT_DIAG, &hdev->quirks);
Expand Down

0 comments on commit 7d59d13

Please sign in to comment.