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

Commit b032fc39 authored by Mike J. Chen's avatar Mike J. Chen
Browse files

Make auto connect work for multiple known BLE devices



Due to a bug with wl_state not ever setting WL_INIT,
auto connect was not working for more than one known
BLE device after a reboot.  The fix is to set the WL_INIT
flag when in initiator state.

I also added code to set the WL_SCAN flag when in
scanning state.  Not sure if that fixes any bug but
it looks like it should have been done too.

WL_ADV was the only state flag previously being set.

Bug 16404692

Change-Id: Id42907c0d8301e347e603684e2c03e4905bfec49
Signed-off-by: default avatarMike J. Chen <mjchen@google.com>
parent b3ba5c3a
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