From 52bc9e9f51b78432085a36ff832daad4ab7ba6a2 Mon Sep 17 00:00:00 2001 From: Paul Szczepanek Date: Thu, 29 Apr 2021 16:08:52 +0100 Subject: [PATCH] fix misleading privacy trace --- .../FEATURE_BLE/source/generic/PrivateAddressController.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/connectivity/FEATURE_BLE/source/generic/PrivateAddressController.cpp b/connectivity/FEATURE_BLE/source/generic/PrivateAddressController.cpp index 6ddafa105c..1478bc8801 100644 --- a/connectivity/FEATURE_BLE/source/generic/PrivateAddressController.cpp +++ b/connectivity/FEATURE_BLE/source/generic/PrivateAddressController.cpp @@ -242,7 +242,7 @@ ble_error_t PrivateAddressController::add_device_to_resolving_list( peer_irk ); } else { - tr_error("Host based private address resolution enabled but not supported by the controller"); + tr_error("Privacy used but not supported on the controller nor the host"); return BLE_ERROR_NOT_IMPLEMENTED; } #endif // BLE_GAP_HOST_BASED_PRIVATE_ADDRESS_RESOLUTION @@ -276,7 +276,7 @@ ble_error_t PrivateAddressController::remove_device_from_resolving_list( if (is_controller_privacy_supported()) { return queue_remove_device_from_resolving_list(peer_address_type, peer_identity_address); } else { - tr_error("Host based private address resolution enabled but not supported by the controller"); + tr_error("Privacy used but not supported on the controller nor the host"); return BLE_ERROR_NOT_IMPLEMENTED; } #endif // BLE_GAP_HOST_BASED_PRIVATE_ADDRESS_RESOLUTION @@ -303,7 +303,7 @@ ble_error_t PrivateAddressController::clear_resolving_list() if (is_controller_privacy_supported()) { return queue_clear_resolving_list(); } else { - tr_error("Host based private address resolution enabled but not supported by the controller"); + tr_error("Privacy used but not supported on the controller nor the host"); return BLE_ERROR_NOT_IMPLEMENTED; } #endif // BLE_GAP_HOST_BASED_PRIVATE_ADDRESS_RESOLUTION