From: Jouni Malinen Date: Wed, 14 Nov 2012 11:05:53 +0000 (+0200) Subject: Fix forgotten no-CONFIG_WPS=y wrapper X-Git-Tag: hostap_2_0~129 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2901915e72b25581b1a7d07a0d912864437782e;p=thirdparty%2Fhostap.git 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 --- diff --git a/wpa_supplicant/wps_supplicant.h b/wpa_supplicant/wps_supplicant.h index 94c19d683..dd0dc6036 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; }