bluetooth: host: Use LOG_WRN for failed CS procedures

These can indicate that something about the user configuration needs to
be changed.

Signed-off-by: Olivier Lesage <olivier.lesage@nordicsemi.no>
This commit is contained in:
Olivier Lesage 2024-11-19 13:52:45 +01:00 committed by Benjamin Cabé
commit 480f8aa887

View file

@ -304,7 +304,7 @@ void bt_hci_le_cs_read_remote_supported_capabilities_complete(struct net_buf *bu
evt = net_buf_pull_mem(buf, sizeof(*evt));
if (evt->status) {
LOG_INF("Read Remote Supported Capabilities failed (status 0x%02X)", evt->status);
LOG_WRN("Read Remote Supported Capabilities failed (status 0x%02X)", evt->status);
return;
}
@ -464,7 +464,7 @@ void bt_hci_le_cs_read_remote_fae_table_complete(struct net_buf *buf)
evt = net_buf_pull_mem(buf, sizeof(*evt));
if (evt->status) {
LOG_INF("Read Remote FAE Table failed with status 0x%02X", evt->status);
LOG_WRN("Read Remote FAE Table failed with status 0x%02X", evt->status);
return;
}
@ -804,7 +804,7 @@ void bt_hci_le_cs_config_complete_event(struct net_buf *buf)
evt = net_buf_pull_mem(buf, sizeof(*evt));
if (evt->status) {
LOG_INF("CS Config failed (status 0x%02X)", evt->status);
LOG_WRN("CS Config failed (status 0x%02X)", evt->status);
return;
}
@ -1202,7 +1202,7 @@ void bt_hci_le_cs_security_enable_complete(struct net_buf *buf)
evt = net_buf_pull_mem(buf, sizeof(*evt));
if (evt->status) {
LOG_INF("Security Enable failed with status 0x%02X", evt->status);
LOG_WRN("Security Enable failed with status 0x%02X", evt->status);
return;
}
@ -1231,7 +1231,7 @@ void bt_hci_le_cs_procedure_enable_complete(struct net_buf *buf)
evt = net_buf_pull_mem(buf, sizeof(*evt));
if (evt->status) {
LOG_INF("Procedure Enable failed with status 0x%02X", evt->status);
LOG_WRN("Procedure Enable failed with status 0x%02X", evt->status);
return;
}
@ -1291,7 +1291,7 @@ void bt_hci_le_cs_test_end_complete(struct net_buf *buf)
evt = net_buf_pull_mem(buf, sizeof(*evt));
if (evt->status) {
LOG_INF("CS Test End failed with status 0x%02X", evt->status);
LOG_WRN("CS Test End failed with status 0x%02X", evt->status);
return;
}