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

Skip to content
Commit d69928a3 authored by Huirong Liao's avatar Huirong Liao
Browse files

Fix connect fail when bonding then connect

[Root Cause]
when it's connecting an non-connectable device, app connect
 to it again. and the l2cap statue indicates there is a lcb
 for the address. then it return true to notify gatt connected
 and it will cancel the connect timer. the connection will not
 timeout and the smp flag will be always paring.

[Solution]
we should return false when it's connecting.

Bug: 265983604
Test: atest net_test_btif_stack pass

Change-Id: I8c5ca19d634d5ecee3dfcb8e5def3eaefa22ca99
parent d5f4e5ec
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