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 e8c5648..5bf4040 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 */