Fix forgotten no-CONFIG_WPS=y wrapper

Commit 620c783753 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>
This commit is contained in:
Jouni Malinen 2012-11-14 13:05:53 +02:00 committed by Jouni Malinen
parent 6e2020210a
commit d2901915e7

View 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;
}