Fix build without CONFIG_WPS=y
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 1 Oct 2012 13:07:07 +0000 (16:07 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 1 Oct 2012 13:07:07 +0000 (16:07 +0300)
Commit 620c783753bddd37988269314862dc7e4a62f700 modified
wpas_wps_ssid_bss_match() prototype but forgot to update the non-WPS
wrapper inline function. Fix that to match with the new bss parameter
type.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>

wpa_supplicant/wps_supplicant.h

index d5eb3b6..65c5c5a 100644 (file)
@@ -96,7 +96,7 @@ static inline u8 wpas_wps_get_req_type(struct wpa_ssid *ssid)
 
 static inline int wpas_wps_ssid_bss_match(struct wpa_supplicant *wpa_s,
                                          struct wpa_ssid *ssid,
-                                         struct wpa_scan_res *bss)
+                                         struct wpa_bss *bss)
 {
        return -1;
 }