From: Jouni Malinen Date: Thu, 3 Dec 2009 22:29:10 +0000 (+0200) Subject: Fix hostapd build with WPS disabled X-Git-Tag: hostap_0_7_1~424 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05df8cb3f6558f0d30dfce911d783e0119342fcd;p=thirdparty%2Fhostap.git Fix hostapd build with WPS disabled --- diff --git a/hostapd/wps_hostapd.h b/hostapd/wps_hostapd.h index c4ac246c8..bf28fb0f3 100644 --- a/hostapd/wps_hostapd.h +++ b/hostapd/wps_hostapd.h @@ -47,6 +47,11 @@ static inline int hostapd_wps_get_mib_sta(struct hostapd_data *hapd, return 0; } +static inline int hostapd_wps_button_pushed(struct hostapd_data *hapd) +{ + return 0; +} + #endif /* CONFIG_WPS */ #endif /* WPS_HOSTAPD_H */