Cellular: Fix AT command for COPS manual network selection

pull/12088/head
Ari Parkkila 2019-12-12 00:31:43 -08:00
parent 8c673ba597
commit 483c557f9b
1 changed files with 1 additions and 1 deletions

View File

@ -224,7 +224,7 @@ nsapi_error_t AT_CellularNetwork::set_registration(const char *plmn)
if (_op_act != RAT_UNKNOWN) {
return _at.at_cmd_discard("+COPS", "=1,2,", "%s%d", plmn, _op_act);
} else {
return _at.at_cmd_discard("+COPS", "=1,2", "%s", plmn);
return _at.at_cmd_discard("+COPS", "=1,2,", "%s", plmn);
}
}
}