summaryrefslogtreecommitdiff
path: root/drivers/bluetooth/btintel.h
diff options
context:
space:
mode:
authorTedd Ho-Jeong An <tedd.an@intel.com>2022-01-07 03:34:54 +0300
committerMarcel Holtmann <marcel@holtmann.org>2022-01-07 10:29:21 +0300
commit95655456e7cee858a23793f67025765b4c4c227b (patch)
tree392bacae6d29e6a2c47cc20453879ee18513e91e /drivers/bluetooth/btintel.h
parent72279d17df54d5e4e7910b39c61a3f3464e36633 (diff)
downloadlinux-95655456e7cee858a23793f67025765b4c4c227b.tar.xz
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.h2
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,