From 69aa33411e1664ee292960688407f35a0f584e5e Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 5 May 2013 12:20:35 +0300 Subject: [PATCH] wpa_cli: Add BSSID tab completion for set bssid_filter Signed-hostap: Jouni Malinen --- wpa_supplicant/wpa_cli.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wpa_supplicant/wpa_cli.c b/wpa_supplicant/wpa_cli.c index d01a5a44e..47a596e95 100644 --- a/wpa_supplicant/wpa_cli.c +++ b/wpa_supplicant/wpa_cli.c @@ -631,6 +631,9 @@ static char ** wpa_cli_complete_set(const char *str, int pos) return res; } + if (arg > 1 && os_strncasecmp(str, "set bssid_filter ", 17) == 0) + return cli_txt_list_array(&bsses); + return NULL; }