aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wps_supplicant.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2010-09-20 21:54:22 (GMT)
committerJouni Malinen <j@w1.fi>2010-09-20 21:54:22 (GMT)
commitff28ccafd5995e6026d414481f860c31b0ce56ba (patch)
tree0c5b32955eb5860f62a8fe0b11ff942854e2d391 /wpa_supplicant/wps_supplicant.c
parente0369e3664875826de4434caf0ff7570330b0e80 (diff)
downloadhostap-ff28ccafd5995e6026d414481f860c31b0ce56ba.zip
hostap-ff28ccafd5995e6026d414481f860c31b0ce56ba.tar.gz
hostap-ff28ccafd5995e6026d414481f860c31b0ce56ba.tar.bz2
WPS: Add BSSID to strict validation error messages
This makes it easier to figure out which AP is sending invalid Beacon or Probe Response frames.
Diffstat (limited to 'wpa_supplicant/wps_supplicant.c')
-rw-r--r--wpa_supplicant/wps_supplicant.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wpa_supplicant/wps_supplicant.c b/wpa_supplicant/wps_supplicant.c
index 8f4ed51..a324b46 100644
--- a/wpa_supplicant/wps_supplicant.c
+++ b/wpa_supplicant/wps_supplicant.c
@@ -1117,7 +1117,7 @@ int wpas_wps_ssid_wildcard_ok(struct wpa_supplicant *wpa_s,
#ifdef CONFIG_WPS_STRICT
if (wps_ie) {
if (wps_validate_beacon_probe_resp(wps_ie, bss->beacon_ie_len >
- 0) < 0)
+ 0, bss->bssid) < 0)
ret = 0;
if (bss->beacon_ie_len) {
struct wpabuf *bcn_wps;