ath9k: fix short slot vs long slot handling, implement support for setting the covera...
[openwrt/svn-archive/archive.git] / package / mac80211 / patches / 540-short_slot_handling.patch
1 --- a/net/mac80211/mlme.c
2 +++ b/net/mac80211/mlme.c
3 @@ -670,6 +670,8 @@ static u32 ieee80211_handle_bss_capabili
4 }
5
6 use_short_slot = !!(capab & WLAN_CAPABILITY_SHORT_SLOT_TIME);
7 + if (sdata->local->hw.conf.channel->band == IEEE80211_BAND_5GHZ)
8 + use_short_slot = true;
9
10 if (use_protection != bss_conf->use_cts_prot) {
11 bss_conf->use_cts_prot = use_protection;