aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wps_supplicant.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2012-11-14 11:05:53 (GMT)
committerJouni Malinen <j@w1.fi>2012-11-14 11:05:53 (GMT)
commitd2901915e72b25581b1a7d07a0d912864437782e (patch)
tree5e1a7ca529835ac7dd477931154a443bb0c75716 /wpa_supplicant/wps_supplicant.h
parent6e2020210afe355bd0f8fcdb2a68f31746f6f7df (diff)
downloadhostap-d2901915e72b25581b1a7d07a0d912864437782e.zip
hostap-d2901915e72b25581b1a7d07a0d912864437782e.tar.gz
hostap-d2901915e72b25581b1a7d07a0d912864437782e.tar.bz2
Fix forgotten no-CONFIG_WPS=y wrapper
Commit 620c783753bddd37988269314862dc7e4a62f700 modified wpas_wps_ssid_wildcard_ok() prototype, but forgot to update the non-WPS-build wrapper. Fix that to match with the new bss parameter type and remove the now unused declaration of wpa_scan_res. Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/wps_supplicant.h')
-rw-r--r--wpa_supplicant/wps_supplicant.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/wpa_supplicant/wps_supplicant.h b/wpa_supplicant/wps_supplicant.h
index 94c19d6..dd0dc60 100644
--- a/wpa_supplicant/wps_supplicant.h
+++ b/wpa_supplicant/wps_supplicant.h
@@ -9,7 +9,6 @@
#ifndef WPS_SUPPLICANT_H
#define WPS_SUPPLICANT_H
-struct wpa_scan_res;
struct wpa_scan_results;
#ifdef CONFIG_WPS
@@ -107,7 +106,7 @@ static inline int wpas_wps_ssid_bss_match(struct wpa_supplicant *wpa_s,
static inline int wpas_wps_ssid_wildcard_ok(struct wpa_supplicant *wpa_s,
struct wpa_ssid *ssid,
- struct wpa_scan_res *bss)
+ struct wpa_bss *bss)
{
return 0;
}