[PATCH 10/12] wpa_cli: Add optional ssid to neighbor report request

Ilan Peer ilan.peer
Wed Nov 5 00:42:54 PST 2014


From: Assaf Krauss <assaf.krauss at intel.com>

Add optional 'ssid' parameter to command "neighbor_rep_request".

Signed-off-by: Assaf Krauss <assaf.krauss at intel.com>
---
 wpa_supplicant/wpa_cli.c | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/wpa_supplicant/wpa_cli.c b/wpa_supplicant/wpa_cli.c
index 8937c62..15a76a3 100644
--- a/wpa_supplicant/wpa_cli.c
+++ b/wpa_supplicant/wpa_cli.c
@@ -2959,9 +2959,11 @@ static struct wpa_cli_cmd wpa_cli_commands[] = {
 	{ "vendor", wpa_cli_cmd_vendor, NULL, cli_cmd_flag_none,
 	  "<vendor id> <command id> [<hex formatted command argument>] = Send vendor command"
 	},
-	{ "neighbor_rep_request", wpa_cli_cmd_neighbor_rep_request, NULL,
-	  cli_cmd_flag_none,
-	  "= Trigger request to AP for neighboring AP report"},
+	{ "neighbor_rep_request",
+	  wpa_cli_cmd_neighbor_rep_request, NULL, cli_cmd_flag_none,
+	  "[ssid=<ssid>] = Trigger request to AP for neighboring AP report "
+	  "(with optional given ssid, default: current ssid)"
+	},
 	{ NULL, NULL, NULL, cli_cmd_flag_none, NULL }
 };
 
-- 
1.8.3.2




More information about the Hostap mailing list