diff --git a/features/cellular/framework/AT/AT_CellularDevice.cpp b/features/cellular/framework/AT/AT_CellularDevice.cpp index 52cccfaae4..8170b8f767 100644 --- a/features/cellular/framework/AT/AT_CellularDevice.cpp +++ b/features/cellular/framework/AT/AT_CellularDevice.cpp @@ -241,7 +241,7 @@ nsapi_error_t AT_CellularDevice::set_pin(const char *sim_pin) const bool stored_debug_state = _at->get_debug(); _at->set_debug(false); - _at->at_cmd_discard("+CPIN", "=,", "%s", sim_pin); + _at->at_cmd_discard("+CPIN", "=", "%s", sim_pin); _at->set_debug(stored_debug_state);