]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Fix hostapd build without WPS
authorJouni Malinen <jouni.malinen@atheros.com>
Mon, 12 Apr 2010 12:15:17 +0000 (15:15 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 12 Apr 2010 12:15:17 +0000 (15:15 +0300)
src/ap/hostapd.h

index e8c564855e7d5b58cbbdbd89fd8ce0e97e718c08..5bf4040698a8ef43b210530c4138e7e45602c691 100644 (file)
@@ -162,9 +162,9 @@ struct hostapd_data {
        struct l2_packet_data *l2;
        struct wps_context *wps;
 
-#ifdef CONFIG_WPS
        struct wpabuf *wps_beacon_ie;
        struct wpabuf *wps_probe_resp_ie;
+#ifdef CONFIG_WPS
        unsigned int ap_pin_failures;
        struct upnp_wps_device_sm *wps_upnp;
 #endif /* CONFIG_WPS */