From: Aditya Kumar Singh Date: Tue, 11 Feb 2025 17:27:09 +0000 (+0530) Subject: AP: Remove xrates_supported config X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea626cb8cebfe8cd871e22f5caab8ae9c8cf53f2;p=thirdparty%2Fhostap.git AP: Remove xrates_supported config This config is no longer needed and hence can be removed. Signed-off-by: Aditya Kumar Singh --- diff --git a/src/ap/ap_config.h b/src/ap/ap_config.h index d056c60e3..4ef2d8c70 100644 --- a/src/ap/ap_config.h +++ b/src/ap/ap_config.h @@ -972,7 +972,6 @@ struct hostapd_bss_config { u8 rnr; char *config_id; - bool xrates_supported; bool ssid_protection; bool known_sta_identification; diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c index 5db8e24e4..071b0c136 100644 --- a/src/ap/ieee802_11.c +++ b/src/ap/ieee802_11.c @@ -190,7 +190,6 @@ u8 * hostapd_eid_ext_supp_rates(struct hostapd_data *hapd, u8 *eid) int i, num, count; int h2e_required; - hapd->conf->xrates_supported = false; if (hapd->iface->current_rates == NULL) return eid; @@ -252,7 +251,6 @@ u8 * hostapd_eid_ext_supp_rates(struct hostapd_data *hapd, u8 *eid) *pos++ = 0x80 | BSS_MEMBERSHIP_SELECTOR_SAE_H2E_ONLY; } - hapd->conf->xrates_supported = true; return pos; }