Browse Source

wpa_cli: Add BSSID tab completion for set bssid_filter

Signed-hostap: Jouni Malinen <j@w1.fi>
Jouni Malinen 12 years ago
parent
commit
69aa33411e
1 changed files with 3 additions and 0 deletions
  1. 3 0
      wpa_supplicant/wpa_cli.c

+ 3 - 0
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;
 }