system/bt
Revision | cd62ccfdc8b59b4d5177dd8b8deab11a06979c72 (tree) |
---|---|
Time | 2016-10-03 18:39:10 |
Author | Venkata Jagadeesh Garaga <vgaraga@code...> |
Commiter | Gerrit - the friendly Code Review server |
GAP : PIN popup shown for dead legacy remotes
When repairing initiated for legcay remotes pin popup
shown even remote is not in page mode.
As dev record sm4 flag not reset during unpair,pin pop
up shown in UI based on prev sm4.
Change-Id: I29bb6ae17dc5a83459cc5cd4c8cfc6ae59bb4504
CRs-Fixed: 1066796
@@ -297,6 +297,7 @@ void btm_sec_free_dev (tBTM_SEC_DEV_REC *p_dev_rec) | ||
297 | 297 | { |
298 | 298 | p_dev_rec->bond_type = BOND_TYPE_UNKNOWN; |
299 | 299 | p_dev_rec->sec_flags = 0; |
300 | + p_dev_rec->sm4 = BTM_SM4_UNKNOWN; | |
300 | 301 | |
301 | 302 | #if BLE_INCLUDED == TRUE |
302 | 303 | /* Clear out any saved BLE keys */ |