aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/wps_supplicant.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2010-01-03 19:21:03 (GMT)
committerJouni Malinen <j@w1.fi>2010-01-03 19:21:03 (GMT)
commit9c3a2284de0d967689955d166619d0704207142e (patch)
tree37a88e4b3b7e3d6bdc2cc36bb2e69d91f8c00b2f /wpa_supplicant/wps_supplicant.h
parent69378b792857adb9f478f9238f4f925a835add4d (diff)
downloadhostap-9c3a2284de0d967689955d166619d0704207142e.zip
hostap-9c3a2284de0d967689955d166619d0704207142e.tar.gz
hostap-9c3a2284de0d967689955d166619d0704207142e.tar.bz2
Fix compiler warnings for non-WPS build
Diffstat (limited to 'wpa_supplicant/wps_supplicant.h')
-rw-r--r--wpa_supplicant/wps_supplicant.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/wpa_supplicant/wps_supplicant.h b/wpa_supplicant/wps_supplicant.h
index 85da8be..ba2fb16 100644
--- a/wpa_supplicant/wps_supplicant.h
+++ b/wpa_supplicant/wps_supplicant.h
@@ -15,13 +15,14 @@
#ifndef WPS_SUPPLICANT_H
#define WPS_SUPPLICANT_H
+struct wpa_scan_res;
+
#ifdef CONFIG_WPS
#include "wps/wps.h"
#include "wps/wps_defs.h"
struct wpa_bss;
-struct wpa_scan_res;
struct wps_new_ap_settings {
const char *ssid_hex;
@@ -96,7 +97,7 @@ static inline int wpas_wps_ssid_wildcard_ok(struct wpa_supplicant *wpa_s,
}
static inline int wpas_wps_scan_pbc_overlap(struct wpa_supplicant *wpa_s,
- struct wpa_scan_res *selected,
+ struct wpa_bss *selected,
struct wpa_ssid *ssid)
{
return 0;