aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wpa_cli.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2013-05-05 09:20:35 (GMT)
committerJouni Malinen <j@w1.fi>2013-05-05 09:20:35 (GMT)
commit69aa33411e1664ee292960688407f35a0f584e5e (patch)
tree20b468de787e9e81d0bb737115f848f2c7513604 /wpa_supplicant/wpa_cli.c
parent215658726f14d8ecb67b065180eb55fc8691f8d6 (diff)
downloadhostap-69aa33411e1664ee292960688407f35a0f584e5e.zip
hostap-69aa33411e1664ee292960688407f35a0f584e5e.tar.gz
hostap-69aa33411e1664ee292960688407f35a0f584e5e.tar.bz2
wpa_cli: Add BSSID tab completion for set bssid_filter
Signed-hostap: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant/wpa_cli.c')
-rw-r--r--wpa_supplicant/wpa_cli.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/wpa_supplicant/wpa_cli.c b/wpa_supplicant/wpa_cli.c
index d01a5a4..47a596e 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;
}