]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
AP: Remove xrates_supported config
authorAditya Kumar Singh <quic_adisi@quicinc.com>
Tue, 11 Feb 2025 17:27:09 +0000 (22:57 +0530)
committerJouni Malinen <j@w1.fi>
Tue, 11 Feb 2025 20:38:42 +0000 (22:38 +0200)
This config is no longer needed and hence can be removed.

Signed-off-by: Aditya Kumar Singh <quic_adisi@quicinc.com>
src/ap/ap_config.h
src/ap/ieee802_11.c

index d056c60e35cb69352a949b36a9b4b0f75156aca6..4ef2d8c7017b27ba37d128059040e52ceadd9e81 100644 (file)
@@ -972,7 +972,6 @@ struct hostapd_bss_config {
 
        u8 rnr;
        char *config_id;
-       bool xrates_supported;
 
        bool ssid_protection;
        bool known_sta_identification;
index 5db8e24e41f48e24914052f4e705d54575435e1f..071b0c136cc54df3f872a264067b89ccd6672c26 100644 (file)
@@ -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;
 }