]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2022 08:03:20 +0000 (10:03 +0200)
commit72deda4b68bca9b4a6349a977cb83127ea1da391
tree1c83ae85ffee9e6ce74b996f0398a03d5e56e694
parentef4d3dcd66ac0968f658db8cfacae25eabfd505c
Bluetooth: hci_sync: Add a new quirk to skip HCI_FLT_CLEAR_ALL

commit 0eaecfb2e4814d51ab172df3823e35d7c488b6d2 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/net/bluetooth/hci.h
net/bluetooth/hci_sync.c