diff --git a/features/cellular/framework/targets/UBLOX/AT/UBLOX_AT.cpp b/features/cellular/framework/targets/UBLOX/AT/UBLOX_AT.cpp index 14b3931270..1f116f6f86 100644 --- a/features/cellular/framework/targets/UBLOX/AT/UBLOX_AT.cpp +++ b/features/cellular/framework/targets/UBLOX/AT/UBLOX_AT.cpp @@ -117,7 +117,7 @@ nsapi_error_t UBLOX_AT::init() } #endif - return err; + return _at->unlock_return_error(); } nsapi_error_t UBLOX_AT::config_authentication_parameters()