aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/mac80211
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2018-10-06 19:35:04 +0200
committerJohannes Berg <johannes.berg@intel.com>2018-10-11 16:01:03 +0200
commit80df9be67c44cb636bbc92caeddad8caf334c53c (patch)
tree9da026c1642993400f847a91845ccd304443a0e0 /net/mac80211
parentmac80211: minstrel: fix using short preamble CCK rates on HT clients (diff)
downloadwireguard-linux-80df9be67c44cb636bbc92caeddad8caf334c53c.tar.xz
wireguard-linux-80df9be67c44cb636bbc92caeddad8caf334c53c.zip
mac80211: minstrel: fix CCK rate group streams value
Fixes a harmless underflow issue when CCK rates are actively being used Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/rc80211_minstrel_ht.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/rc80211_minstrel_ht.c b/net/mac80211/rc80211_minstrel_ht.c
index 118ffe7f88c4..6cc28ca5d4a6 100644
--- a/net/mac80211/rc80211_minstrel_ht.c
+++ b/net/mac80211/rc80211_minstrel_ht.c
@@ -131,7 +131,7 @@
#define CCK_GROUP(_s) \
[MINSTREL_CCK_GROUP] = { \
- .streams = 0, \
+ .streams = 1, \
.flags = 0, \
.shift = _s, \
.duration = { \