]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Fix forgotten no-CONFIG_WPS=y wrapper
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 14 Nov 2012 11:05:53 +0000 (13:05 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 14 Nov 2012 11:05:53 +0000 (13:05 +0200)
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>

wpa_supplicant/wps_supplicant.h

index 94c19d683aa62f7d3e10fd59eddabc5326db2d21..dd0dc6036b1a348970bc5514b6b30aa976961867 100644 (file)
@@ -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;
 }