diff options
author | Tedd Ho-Jeong An <tedd.an@intel.com> | 2022-01-07 01:34:54 +0100 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2022-01-07 08:29:21 +0100 |
commit | 95655456e7cee858a23793f67025765b4c4c227b (patch) | |
tree | 392bacae6d29e6a2c47cc20453879ee18513e91e /drivers/bluetooth/btintel.h | |
parent | Bluetooth: hci_event: Rework hci_inquiry_result_with_rssi_evt (diff) | |
download | linux-95655456e7cee858a23793f67025765b4c4c227b.tar.xz linux-95655456e7cee858a23793f67025765b4c4c227b.zip |
Bluetooth: btintel: Fix broken LED quirk for legacy ROM devices
This patch fixes the broken LED quirk for Intel legacy ROM devices.
To fix the LED issue that doesn't turn off immediately, the host sends
the SW RFKILL command while shutting down the interface and it puts the
devices in SW RFKILL state.
Once the device is in SW RFKILL state, it can only accept HCI_Reset to
exit from the SW RFKILL state. This patch checks the quirk for broken
LED and sends the HCI_Reset before sending the HCI_Intel_Read_Version
command.
The affected legacy ROM devices are
- 8087:07dc
- 8087:0a2a
- 8087:0aa7
Fixes: ffcba827c0a1d ("Bluetooth: btintel: Fix the LED is not turning off immediately")
Signed-off-by: Tedd Ho-Jeong An <tedd.an@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'drivers/bluetooth/btintel.h')
-rw-r--r-- | drivers/bluetooth/btintel.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/btintel.h b/drivers/bluetooth/btintel.h index e500c0d7a729..c9b24e9299e2 100644 --- a/drivers/bluetooth/btintel.h +++ b/drivers/bluetooth/btintel.h @@ -150,7 +150,7 @@ enum { INTEL_FIRMWARE_FAILED, INTEL_BOOTING, INTEL_BROKEN_INITIAL_NCMD, - INTEL_BROKEN_LED, + INTEL_BROKEN_SHUTDOWN_LED, INTEL_ROM_LEGACY, __INTEL_NUM_FLAGS, |