Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0f0d00d5 authored by Archie Pusaka's avatar Archie Pusaka
Browse files

Floss: hcidoc: Consider adapter off and suspend in rulesets

When adapter is going off or suspending, the host will send
disconnect request with reason Remote Device Power Off (0x15), and
might not wait for the reply from the peer device. We should treat
this accordingly in hcidoc to avoid wrong judgement because of
missing disconnect events.

Additionally, when controller is reset, we should also reset the
states of the rules, otherwise we might get bogus signals which is
based on the old state of the controller.

This CL adjust the states for the Informational Rule and Connection
Rule.

Bug: 290593784
Tag: #floss
Test: test with feedback report 91055564245 and 91061378476
Change-Id: Ie77389cdd301440d60912c51087994c82c59098f
parent 774ea19e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment