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

Skip to content
Commit a62f22ab authored by Matt Swartwout's avatar Matt Swartwout Committed by Jack He
Browse files

Do not assume device_type from non-connectable advertisting packets

which omit flags entirely.

Non-connectable device may omit the flags section entirely, and no
assumptions should be made about the flag values in that case (CSSv10,
1.3.1). Currently, we will assume the device_type to be DUMO in that
case, which is incorrect. Prevent this by only setting device_type when
the flags are present or the packet is connectable.

Bug: 194397272
Test: Tested with partner device and verified that incorrect attempted
BT Classic connections are eliminated.
Tag: #compatibility

Change-Id: Ia448abf3fb1c0ee3cdae8133048043ecf2c8b9ff
parent 68844755
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