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

Skip to content
Commit d4d5d559 authored by yamei du's avatar yamei du Committed by Bhakthavatsala Raghavendra
Browse files

btm_ble_sec: Reset btm pairing state when returning early from handling SMP_COMPLT_EVT

When SMP pairing fails and the device record is not allocated, handling
SMP_COMPLT_EVT will return early without resetting the BTM pairing
state to IDLE. Subsequent pairing attempts triggered immediately after
the previous failure will fail.

Bug: 331682621
Bug: 364321751

Test: m com.android.btservices
Test: Manual
1. Power off BLE device after it is displayed in scanning list
2. Trigger pairing to the BLE device from local device.
3. After pairing fail, trigger another paring immediately

Change-Id: Ie4d3294a321a436727b70eb6ee2823f79ea585fe
parent 19410862
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