mirror of
https://github.com/espressif/esp-idf
synced 2025-03-31 03:41:07 -04:00
component/bt: fix incorrect encryption flag setting
This commit is contained in:
parent
f3ff3b3073
commit
0740090682
@ -4079,7 +4079,7 @@ void btm_sec_encrypt_change (UINT16 handle, UINT8 status, UINT8 encr_enable)
|
|||||||
p_dev_rec->sec_flags |= BTM_SEC_16_DIGIT_PIN_AUTHED;
|
p_dev_rec->sec_flags |= BTM_SEC_16_DIGIT_PIN_AUTHED;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
p_dev_rec->sec_flags |= (BTM_SEC_LE_AUTHENTICATED | BTM_SEC_LE_ENCRYPTED);
|
p_dev_rec->sec_flags |= BTM_SEC_LE_ENCRYPTED;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user