wpa_cli: Let LAST_ID argument to be used for LIST_NETWORKS
This allows starting point of the network list to be specified so that the potentially long response can be fragmented into multiple fetch operations. Signed-off-by: Victor Ananyev <vindex10@gmail.com>
This commit is contained in:
parent
4e9bcdebf3
commit
a3b59fa111
1 changed files with 1 additions and 1 deletions
|
@ -1302,7 +1302,7 @@ static int wpa_cli_cmd_log_level(struct wpa_ctrl *ctrl, int argc, char *argv[])
|
||||||
static int wpa_cli_cmd_list_networks(struct wpa_ctrl *ctrl, int argc,
|
static int wpa_cli_cmd_list_networks(struct wpa_ctrl *ctrl, int argc,
|
||||||
char *argv[])
|
char *argv[])
|
||||||
{
|
{
|
||||||
return wpa_ctrl_command(ctrl, "LIST_NETWORKS");
|
return wpa_cli_cmd(ctrl, "LIST_NETWORKS", 0, argc, argv);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue