wpa_cli: Accept more arguments for set_network
Some network parameters, e.g., auth_alg and eap use a space separated list of values without quotation marks. To allow these to be entered from the interactive mode, change set_network command to allow more than three arguments. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
1ae1570b5f
commit
af1dff8c9f
1 changed files with 1 additions and 1 deletions
|
@ -1350,7 +1350,7 @@ static int wpa_cli_cmd_set_network(struct wpa_ctrl *ctrl, int argc,
|
|||
return 0;
|
||||
}
|
||||
|
||||
if (argc != 3) {
|
||||
if (argc < 3) {
|
||||
printf("Invalid SET_NETWORK command: needs three arguments\n"
|
||||
"(network id, variable name, and value)\n");
|
||||
return -1;
|
||||
|
|
Loading…
Reference in a new issue