diff --git a/features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioPalGap.cpp b/features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioPalGap.cpp index f2310026d6..022147577d 100644 --- a/features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioPalGap.cpp +++ b/features/FEATURE_BLE/targets/TARGET_CORDIO/source/CordioPalGap.cpp @@ -1022,7 +1022,7 @@ ble_error_t Gap::periodic_advertising_create_sync( sync_timeout ); - return BLE_ERROR_INVALID_PARAM; + return BLE_ERROR_NONE; } ble_error_t Gap::cancel_periodic_advertising_create_sync()