Skip to content

Commit 52bc9e9

Browse files
fix misleading privacy trace
1 parent 331473a commit 52bc9e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
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

0 commit comments

Comments
 (0)