• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/bt


Commit MetaInfo

Revisioncd62ccfdc8b59b4d5177dd8b8deab11a06979c72 (tree)
Time2016-10-03 18:39:10
AuthorVenkata Jagadeesh Garaga <vgaraga@code...>
CommiterGerrit - the friendly Code Review server

Log Message

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

Change Summary

Incremental Difference

--- a/stack/btm/btm_dev.c
+++ b/stack/btm/btm_dev.c
@@ -297,6 +297,7 @@ void btm_sec_free_dev (tBTM_SEC_DEV_REC *p_dev_rec)
297297 {
298298 p_dev_rec->bond_type = BOND_TYPE_UNKNOWN;
299299 p_dev_rec->sec_flags = 0;
300+ p_dev_rec->sm4 = BTM_SM4_UNKNOWN;
300301
301302 #if BLE_INCLUDED == TRUE
302303 /* Clear out any saved BLE keys */