CHROMIUM: Bluetooth: allow error when removing from accept list
There is a regression causing the 2nd LE device cannot be connected
upon resuming from suspend. This is a quick, temporary fix to mitigate
the issue.
This works by allowing the same device be removed twice from the accept
list. If controller throws error, assume it doesn't and continue to the
next commands (start scanning).
BUG=b:219952140
TEST=Verify with this steps on Sarien.
(1) Connect 2 LE peer devices
(2) powerd_dbus_suspend
(3) wake with the 1st peer
(4) verify that the 2nd peer can be connected immediately
(5) do steps 2-4 while swap the order of the peers
Signed-off-by: Archie Pusaka <apusaka@chromium.org>
Change-Id: I22b4ad037f81cf5b864eb3fdce9b1a28b98bb468
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/3499389
Reviewed-by: Sonny Sasaka <sonnysasaka@chromium.org>
Tested-by: Sonny Sasaka <sonnysasaka@chromium.org>
Commit-Queue: Sonny Sasaka <sonnysasaka@chromium.org>
1 file changed