hostapd: Fix non-802.11w build
authorJouni Malinen <jouni.malinen@atheros.com>
Tue, 26 May 2009 14:08:43 +0000 (17:08 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 26 May 2009 14:08:43 +0000 (17:08 +0300)
hostapd/ieee802_11.c

index 33acb76..b65b0e2 100644 (file)
@@ -1363,7 +1363,6 @@ static void hostapd_sa_query_action(struct hostapd_data *hapd,
                       "Reply to pending SA Query received");
        ap_sta_stop_sa_query(hapd, sta);
 }
-#endif /* CONFIG_IEEE80211W */
 
 
 static int robust_action_frame(u8 category)
@@ -1371,6 +1370,7 @@ static int robust_action_frame(u8 category)
        return category != WLAN_ACTION_PUBLIC &&
                category != WLAN_ACTION_HT;
 }
+#endif /* CONFIG_IEEE80211W */
 
 
 static void handle_action(struct hostapd_data *hapd,