summaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/540-short_slot_handling.patch
blob: ed6831fbe6240a91b796caaf9b0a6aee44e821f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/net/mac80211/mlme.c
+++ b/net/mac80211/mlme.c
@@ -670,6 +670,8 @@ static u32 ieee80211_handle_bss_capabili
 	}
 
 	use_short_slot = !!(capab & WLAN_CAPABILITY_SHORT_SLOT_TIME);
+	if (sdata->local->hw.conf.channel->band == IEEE80211_BAND_5GHZ)
+		use_short_slot = true;
 
 	if (use_protection != bss_conf->use_cts_prot) {
 		bss_conf->use_cts_prot = use_protection;