]> git.ipfire.org Git - thirdparty/hostap.git/blobdiff - hostapd/sta_info.c
Replace NEED_MLME with NEED_AP_MLME
[thirdparty/hostap.git] / hostapd / sta_info.c
index 7a22e9298ebc0cdb1b02ab6f3ece7d9f6fa71a84..70bf716cf36a7290404d595797eb5ad86bf5347d 100644 (file)
@@ -171,10 +171,10 @@ void ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta)
                hapd->iface->num_sta_ht_20mhz--;
        }
 
-#ifdef NEED_MLME
+#ifdef NEED_AP_MLME
        if (hostapd_ht_operation_update(hapd->iface) > 0)
                set_beacon++;
-#endif /* NEED_MLME */
+#endif /* NEED_AP_MLME */
 #endif /* CONFIG_IEEE80211N */
 
        if (set_beacon)
@@ -697,9 +697,9 @@ static void ap_sa_query_timer(void *eloop_ctx, void *timeout_ctx)
                       HOSTAPD_LEVEL_DEBUG,
                       "association SA Query attempt %d", sta->sa_query_count);
 
-#ifdef NEED_MLME
+#ifdef NEED_AP_MLME
        ieee802_11_send_sa_query_req(hapd, sta->addr, trans_id);
-#endif /* NEED_MLME */
+#endif /* NEED_AP_MLME */
 }