aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wps_supplicant.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2010-09-20 14:54:22 -0700
committerJouni Malinen <j@w1.fi>2010-09-20 14:54:22 -0700
commitff28ccafd5995e6026d414481f860c31b0ce56ba (patch)
tree0c5b32955eb5860f62a8fe0b11ff942854e2d391 /wpa_supplicant/wps_supplicant.c
parente0369e3664875826de4434caf0ff7570330b0e80 (diff)
downloadexternal_wpa_supplicant_8_ti-ff28ccafd5995e6026d414481f860c31b0ce56ba.zip
external_wpa_supplicant_8_ti-ff28ccafd5995e6026d414481f860c31b0ce56ba.tar.gz
external_wpa_supplicant_8_ti-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;