]> git.ipfire.org Git - thirdparty/hostap.git/blobdiff - src/ap/ieee802_11.c
WNM: Differentiate between WNM for station and for AP in build
[thirdparty/hostap.git] / src / ap / ieee802_11.c
index e5a94c2ca7a428c329751b525efb89a0c525a953..7999611463f6497b9a29715c75ef7e5dd14d60cb 100644 (file)
@@ -3458,11 +3458,11 @@ static int handle_action(struct hostapd_data *hapd,
        case WLAN_ACTION_SA_QUERY:
                return hostapd_sa_query_action(hapd, mgmt, len);
 #endif /* CONFIG_IEEE80211W */
-#ifdef CONFIG_WNM
+#ifdef CONFIG_WNM_AP
        case WLAN_ACTION_WNM:
                ieee802_11_rx_wnm_action_ap(hapd, mgmt, len);
                return 1;
-#endif /* CONFIG_WNM */
+#endif /* CONFIG_WNM_AP */
 #ifdef CONFIG_FST
        case WLAN_ACTION_FST:
                if (hapd->iface->fst)