>From e10e5c8c6b21d1d67614c4ebc1a96cccdebe6bfc Mon Sep 17 00:00:00 2001 From: Victor Ananyev <vindex10@xxxxxxxxx> Date: Tue, 17 Sep 2019 21:38:52 +0200 Subject: [PATCH] Let wpa_cli use LAST_ID argument for LIST_NETWORKS This only allows to get full list of networks through WPA_Cli Signed-off-by: Victor Ananyev <vindex10@xxxxxxxxx> --- wpa_supplicant/wpa_cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpa_supplicant/wpa_cli.c b/wpa_supplicant/wpa_cli.c index fa24121ca..ef2d249e9 100644 --- a/wpa_supplicant/wpa_cli.c +++ b/wpa_supplicant/wpa_cli.c @@ -1299,7 +1299,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, char *argv[]) { - return wpa_ctrl_command(ctrl, "LIST_NETWORKS"); + return wpa_cli_cmd(ctrl, "LIST_NETWORKS", 0, argc, argv); } -- 2.21.0
From e10e5c8c6b21d1d67614c4ebc1a96cccdebe6bfc Mon Sep 17 00:00:00 2001 From: Victor Ananyev <vindex10@xxxxxxxxx> Date: Tue, 17 Sep 2019 21:38:52 +0200 Subject: [PATCH] Let wpa_cli use LAST_ID argument for LIST_NETWORKS This only allows to get full list of networks through WPA_Cli Signed-off-by: Victor Ananyev <vindex10@xxxxxxxxx> --- wpa_supplicant/wpa_cli.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpa_supplicant/wpa_cli.c b/wpa_supplicant/wpa_cli.c index fa24121ca..ef2d249e9 100644 --- a/wpa_supplicant/wpa_cli.c +++ b/wpa_supplicant/wpa_cli.c @@ -1299,7 +1299,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, char *argv[]) { - return wpa_ctrl_command(ctrl, "LIST_NETWORKS"); + return wpa_cli_cmd(ctrl, "LIST_NETWORKS", 0, argc, argv); } -- 2.21.0
_______________________________________________ Hostap mailing list Hostap@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/hostap