From: Jouni Malinen Date: Sun, 5 May 2013 09:20:35 +0000 (+0300) Subject: wpa_cli: Add BSSID tab completion for set bssid_filter X-Git-Tag: aosp-kk-from-upstream~297 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69aa33411e1664ee292960688407f35a0f584e5e;p=thirdparty%2Fhostap.git wpa_cli: Add BSSID tab completion for set bssid_filter Signed-hostap: Jouni Malinen --- 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; }