From e4e7724560191e634613784a3d2a91c889b2ef6e Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 20 Apr 2024 15:58:12 +0300 Subject: [PATCH] AP MLD: Use if/else/endif comments more consistently Include the condition in #else similarly to #endif. Signed-off-by: Jouni Malinen --- src/ap/sta_info.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ap/sta_info.c b/src/ap/sta_info.c index 6e0b6dc98..b62770735 100644 --- a/src/ap/sta_info.c +++ b/src/ap/sta_info.c @@ -319,7 +319,7 @@ void ap_free_sta(struct hostapd_data *hapd, struct sta_info *sta) if (!ap_sta_is_mld(hapd, sta) || hapd->mld_link_id == sta->mld_assoc_link_id) wpa_auth_sta_deinit(sta->wpa_sm); -#else +#else /* CONFIG_IEEE80211BE */ wpa_auth_sta_deinit(sta->wpa_sm); #endif /* CONFIG_IEEE80211BE */ @@ -905,7 +905,7 @@ static void ap_sta_disconnect_common(struct hostapd_data *hapd, if (!hapd->conf->mld_ap || hapd->mld_link_id == sta->mld_assoc_link_id) wpa_auth_sta_deinit(sta->wpa_sm); -#else +#else /* CONFIG_IEEE80211BE */ wpa_auth_sta_deinit(sta->wpa_sm); #endif /* CONFIG_IEEE80211BE */