diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2024-07-15 10:40:03 -0400 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2024-07-26 10:53:59 -0400 |
commit | 96b82af36efaa1787946e021aa3dc5410c05beeb (patch) | |
tree | c4e904a832dd31c8975b4ce0fce4ac83c53498a4 /io_uring/io-wq.h | |
parent | d09009bc80d9d0d812b988888c40cd86e52eaf1e (diff) | |
download | linux-stable-96b82af36efaa1787946e021aa3dc5410c05beeb.tar.gz linux-stable-96b82af36efaa1787946e021aa3dc5410c05beeb.tar.bz2 linux-stable-96b82af36efaa1787946e021aa3dc5410c05beeb.zip |
Bluetooth: hci_sync: Fix suspending with wrong filter policy
When suspending the scan filter policy cannot be 0x00 (no acceptlist)
since that means the host has to process every advertisement report
waking up the system, so this attempts to check if hdev is marked as
suspended and if the resulting filter policy would be 0x00 (no
acceptlist) then skip passive scanning if thre no devices in the
acceptlist otherwise reset the filter policy to 0x01 so the acceptlist
is used since the devices programmed there can still wakeup be system.
Fixes: 182ee45da083 ("Bluetooth: hci_sync: Rework hci_suspend_notifier")
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'io_uring/io-wq.h')
0 files changed, 0 insertions, 0 deletions