Skip to content

Commit b7b4ca7

Browse files
authored
Merge pull request #14605 from paul-szczepanek-arm/tracix
BLE: Fix traces
2 parents 376fda5 + 7211cd3 commit b7b4ca7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

connectivity/FEATURE_BLE/source/generic/PrivateAddressController.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ ble_error_t PrivateAddressController::add_device_to_resolving_list(
242242
peer_irk
243243
);
244244
} else {
245-
tr_error("Host based private address resolution enabled but not supported by the controller");
245+
tr_error("Privacy used but not supported on the controller nor the host");
246246
return BLE_ERROR_NOT_IMPLEMENTED;
247247
}
248248
#endif // BLE_GAP_HOST_BASED_PRIVATE_ADDRESS_RESOLUTION
@@ -276,7 +276,7 @@ ble_error_t PrivateAddressController::remove_device_from_resolving_list(
276276
if (is_controller_privacy_supported()) {
277277
return queue_remove_device_from_resolving_list(peer_address_type, peer_identity_address);
278278
} else {
279-
tr_error("Host based private address resolution enabled but not supported by the controller");
279+
tr_error("Privacy used but not supported on the controller nor the host");
280280
return BLE_ERROR_NOT_IMPLEMENTED;
281281
}
282282
#endif // BLE_GAP_HOST_BASED_PRIVATE_ADDRESS_RESOLUTION
@@ -303,7 +303,7 @@ ble_error_t PrivateAddressController::clear_resolving_list()
303303
if (is_controller_privacy_supported()) {
304304
return queue_clear_resolving_list();
305305
} else {
306-
tr_error("Host based private address resolution enabled but not supported by the controller");
306+
tr_error("Privacy used but not supported on the controller nor the host");
307307
return BLE_ERROR_NOT_IMPLEMENTED;
308308
}
309309
#endif // BLE_GAP_HOST_BASED_PRIVATE_ADDRESS_RESOLUTION

connectivity/FEATURE_BLE/source/generic/SecurityManagerImpl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ ble_error_t SecurityManager::init(
8383
const char* db_path
8484
)
8585
{
86-
tr_info("SM init: bondable=%s, mitm=%s, iocaps=%s, passkey=%p, signing=%s, db_path=%p",
86+
tr_info("SM init: bondable=%s, mitm=%s, iocaps=%s, passkey=%s, signing=%s, db_path=%p",
8787
to_string(bondable),
8888
to_string(mitm),
8989
to_string(iocaps),

0 commit comments

Comments
 (0)