Bluetooth: HCI: Invert LE State quirk to be opt-out rather then opt-in
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 12 Aug 2024 14:43:48 +0000 (10:43 -0400)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 15 Aug 2024 17:07:55 +0000 (13:07 -0400)
commitaae6b81260fd9a7224f7eb4fc440d625852245bb
tree4feb48e450af3fe57b48453d586ba2a230488df1
parent9c5af2d7dfe18e3a36f85fad8204cd2442ecd82b
Bluetooth: HCI: Invert LE State quirk to be opt-out rather then opt-in

This inverts the LE State quirk so by default we assume the controllers
would report valid states rather than invalid which is how quirks
normally behave, also this would result in HCI command failing it the LE
States are really broken thus exposing the controllers that are really
broken in this respect.

Link: https://github.com/bluez/bluez/issues/584
Fixes: 220915857e29 ("Bluetooth: Adding driver and quirk defs for multi-role LE")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
drivers/bluetooth/btintel.c
drivers/bluetooth/btintel_pcie.c
drivers/bluetooth/btmtksdio.c
drivers/bluetooth/btrtl.c
drivers/bluetooth/btusb.c
drivers/bluetooth/hci_qca.c
drivers/bluetooth/hci_vhci.c
include/net/bluetooth/hci.h
include/net/bluetooth/hci_core.h
net/bluetooth/hci_event.c