mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-29 18:27:20 +02:00
component/bt: fix incorrect encryption flag setting
This commit is contained in:
@ -4080,7 +4080,7 @@ void btm_sec_encrypt_change (UINT16 handle, UINT8 status, UINT8 encr_enable)
|
||||
p_dev_rec->sec_flags |= BTM_SEC_16_DIGIT_PIN_AUTHED;
|
||||
}
|
||||
} else {
|
||||
p_dev_rec->sec_flags |= (BTM_SEC_LE_AUTHENTICATED | BTM_SEC_LE_ENCRYPTED);
|
||||
p_dev_rec->sec_flags |= BTM_SEC_LE_ENCRYPTED;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user