AP MLD: Use if/else/endif comments more consistently
Include the condition in #else similarly to #endif. Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
This commit is contained in:
parent
9e3988fc64
commit
e4e7724560
1 changed files with 2 additions and 2 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in a new issue