mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-06 10:20:42 +00:00
att_db: only log security check in log_debug
This commit is contained in:
parent
ab16fff0ac
commit
d73deab639
@ -311,7 +311,7 @@ static uint8_t att_validate_security(att_connection_t * att_connection, att_oper
|
|||||||
int required_encryption_size = it->flags >> 12;
|
int required_encryption_size = it->flags >> 12;
|
||||||
if (required_encryption_size) required_encryption_size++; // store -1 to fit into 4 bit
|
if (required_encryption_size) required_encryption_size++; // store -1 to fit into 4 bit
|
||||||
|
|
||||||
log_info("att_validate_security. flags 0x%04x (=> security level %u, key size %u) authorized %u, authenticated %u, encryption_key_size %u",
|
log_debug("att_validate_security. flags 0x%04x (=> security level %u, key size %u) authorized %u, authenticated %u, encryption_key_size %u",
|
||||||
it->flags, required_security_level, required_encryption_size, att_connection->authorized, att_connection->authenticated, att_connection->encryption_key_size);
|
it->flags, required_security_level, required_encryption_size, att_connection->authorized, att_connection->authenticated, att_connection->encryption_key_size);
|
||||||
|
|
||||||
if ((required_security_level >= ATT_SECURITY_AUTHORIZED) && (att_connection->authorized == 0)) {
|
if ((required_security_level >= ATT_SECURITY_AUTHORIZED) && (att_connection->authorized == 0)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user