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

Skip to content
Commit 5858d046 authored by Hsin-chen Chuang's avatar Hsin-chen Chuang
Browse files

floss: Delay CreateBond until discovery is done

We used to cancel discovery before CreateBond because BR/EDR connection
doesn't work when Inquiry is in progress. However, it is not enough if
LibBluetooth is dealing with Remote Name Request. To completely avoid
the conflicts between CreateBond and Inquiry/Remote Name Request, we
should wait until the discovery state changed.

Bug: 329857537
Tag: #floss
Test: mmm packages/modules/Bluetooth
Test: manual CreateBond when LibBluetooth is sending RNR, the request
      is delayed and success
Flag: EXEMPT, Floss-only changes
Change-Id: I72fcd9a9c47ac6e614b228e0c669676a85ac188b
parent a2e77ea8
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