Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Bluetooth: hci_sync: Remove HCI_QUIRK_BROKEN_ERR_DATA_REPORTING

Core driver addtionally checks LMP feature bit "Erroneous Data Reporting"
instead of quirk HCI_QUIRK_BROKEN_ERR_DATA_REPORTING to decide if HCI
commands HCI_Read|Write_Default_Erroneous_Data_Reporting are broken, so
remove this unnecessary quirk.

Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com>
Tested-by: Zijun Hu <quic_zijuhu@quicinc.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

authored by

Zijun Hu and committed by
Luiz Augusto von Dentz
63b1a7dd e168f690

-14
-11
include/net/bluetooth/hci.h
··· 228 228 */ 229 229 HCI_QUIRK_VALID_LE_STATES, 230 230 231 - /* When this quirk is set, then erroneous data reporting 232 - * is ignored. This is mainly due to the fact that the HCI 233 - * Read Default Erroneous Data Reporting command is advertised, 234 - * but not supported; these controllers often reply with unknown 235 - * command and tend to lock up randomly. Needing a hard reset. 236 - * 237 - * This quirk can be set before hci_register_dev is called or 238 - * during the hdev->setup vendor callback. 239 - */ 240 - HCI_QUIRK_BROKEN_ERR_DATA_REPORTING, 241 - 242 231 /* 243 232 * When this quirk is set, then the hci_suspend_notifier is not 244 233 * registered. This is intended for devices which drop completely
-3
net/bluetooth/hci_sync.c
··· 3865 3865 HCI_QUIRK_BROKEN(STORED_LINK_KEY, 3866 3866 "HCI Delete Stored Link Key command is advertised, " 3867 3867 "but not supported."), 3868 - HCI_QUIRK_BROKEN(ERR_DATA_REPORTING, 3869 - "HCI Read Default Erroneous Data Reporting command is " 3870 - "advertised, but not supported."), 3871 3868 HCI_QUIRK_BROKEN(READ_TRANSMIT_POWER, 3872 3869 "HCI Read Transmit Power Level command is advertised, " 3873 3870 "but not supported."),