mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-17 02:42:33 +00:00
Revert "hci: skip authenticate hack"
This reverts commit 914f56d2dfd78958e64f9b8781b866612a3605fa.
This commit is contained in:
parent
3011ca4a9a
commit
378d29b494
@ -2489,9 +2489,9 @@ static void event_handler(uint8_t *packet, uint16_t size){
|
||||
}
|
||||
|
||||
// if AES-CCM is used, authentication used SC -> authentication was mutual and we can skip explicit authentication
|
||||
// if (connected_uses_aes_ccm){
|
||||
if (connected_uses_aes_ccm){
|
||||
conn->authentication_flags |= CONNECTION_AUTHENTICATED;
|
||||
// }
|
||||
}
|
||||
|
||||
if ((hci_stack->local_supported_commands[0] & 0x80) != 0){
|
||||
// For Classic, we need to validate encryption key size first, if possible (== supported by Controller)
|
||||
|
Loading…
x
Reference in New Issue
Block a user