Bluetooth: hci_sync: Add a new quirk to skip HCI_FLT_CLEAR_ALL
authorIsmael Ferreras Morezuelas <swyterzone@gmail.com>
Mon, 7 Mar 2022 20:04:44 +0000 (21:04 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 18 Mar 2022 16:12:07 +0000 (17:12 +0100)
commit0eaecfb2e4814d51ab172df3823e35d7c488b6d2
tree5f1d0837ff46d79089e2cb14db94c1ce7c788635
parent6ac034a76aa230c1acb5bce4442d47310b5aa2f3
Bluetooth: hci_sync: Add a new quirk to skip HCI_FLT_CLEAR_ALL

Some controllers have problems with being sent a command to clear
all filtering. While the HCI code does not unconditionally
send a clear-all anymore at BR/EDR setup (after the state machine
refactor), there might be more ways of hitting these codepaths
in the future as the kernel develops.

Cc: stable@vger.kernel.org
Cc: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Ismael Ferreras Morezuelas <swyterzone@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
include/net/bluetooth/hci.h
net/bluetooth/hci_sync.c