mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-16 08:42:28 +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
|
// encryption and signing information only if bonding requested
|
||||||
flags |= SM_KEYDIST_ENC_KEY;
|
flags |= SM_KEYDIST_ENC_KEY;
|
||||||
#ifdef ENABLE_LE_SIGNED_WRITE
|
#ifdef ENABLE_LE_SIGNED_WRITE
|
||||||
flags | = SM_KEYDIST_SIGN;
|
flags |= SM_KEYDIST_SIGN;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
return flags;
|
return flags;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user