Component/bt: do not update connection params when already have keys in slave

This commit is contained in:
zhiweijian
2018-04-02 15:33:04 +08:00
parent aca0008694
commit a6c79cfe0f
4 changed files with 20 additions and 1 deletions
@@ -485,6 +485,7 @@ typedef struct {
#if SMP_INCLUDED == TRUE
tBTM_LE_KEY_TYPE key_type; /* bit mask of valid key types in record */
tBTM_SEC_BLE_KEYS keys; /* LE device security info in slave rode */
bool skip_update_conn_param; /* skip update connection paraams or not*/
#endif
#if (BLE_PRIVACY_SPT == TRUE)
tBLE_ADDR_TYPE current_addr_type; /* current adv addr type*/