mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-02-06 03:40:16 +00:00
sm: request signing key only when bonding and ENABLE_LE_SIGNED_WRITE (fix)
This commit is contained in:
parent
bb09604f2e
commit
dc3878e895
@ -1152,7 +1152,7 @@ static int sm_key_distribution_flags_for_auth_req(void){
|
||||
// encryption and signing information only if bonding requested
|
||||
flags |= SM_KEYDIST_ENC_KEY;
|
||||
#ifdef ENABLE_LE_SIGNED_WRITE
|
||||
flags | = SM_KEYDIST_SIGN;
|
||||
flags |= SM_KEYDIST_SIGN;
|
||||
#endif
|
||||
}
|
||||
return flags;
|
||||
|
Loading…
x
Reference in New Issue
Block a user