diff options
author | Jouni Malinen <jouni.malinen@atheros.com> | 2008-12-22 13:05:33 +0200 |
---|---|---|
committer | Jouni Malinen <j@w1.fi> | 2008-12-22 13:05:33 +0200 |
commit | f130ba9b4a50396bc166c26b4e5fb0905996fd18 (patch) | |
tree | 23d51b15c896685407b7a76cefa4aeda5eb41164 /hostapd | |
parent | 45832ddd4db7cfeceaf71d953f75c9df9ddade56 (diff) | |
download | external_wpa_supplicant_8_ti-f130ba9b4a50396bc166c26b4e5fb0905996fd18.zip external_wpa_supplicant_8_ti-f130ba9b4a50396bc166c26b4e5fb0905996fd18.tar.gz external_wpa_supplicant_8_ti-f130ba9b4a50396bc166c26b4e5fb0905996fd18.tar.bz2 |
Allow HT to be enabled for a STA even without WMM
The STA won't be able to use block ACK/aggregation, but at least it
should be allowed to use MCS rates and HT40.
Diffstat (limited to 'hostapd')
-rw-r--r-- | hostapd/ieee802_11.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/hostapd/ieee802_11.c b/hostapd/ieee802_11.c index e85e5e0..39cc837 100644 --- a/hostapd/ieee802_11.c +++ b/hostapd/ieee802_11.c @@ -807,9 +807,8 @@ static void handle_assoc(struct hostapd_data *hapd, /* save HT capabilities in the sta object */ os_memset(&sta->ht_capabilities, 0, sizeof(sta->ht_capabilities)); if (elems.ht_capabilities && - elems.ht_capabilities_len >= sizeof(struct ieee80211_ht_capability) - && (sta->flags & WLAN_STA_WME)) { - /* note: without WMM capability, treat the sta as non-HT */ + elems.ht_capabilities_len >= + sizeof(struct ieee80211_ht_capability)) { sta->flags |= WLAN_STA_HT; sta->ht_capabilities.id = WLAN_EID_HT_CAP; sta->ht_capabilities.length = |