diff options
author | Felix Fietkau <nbd@nbd.name> | 2018-10-06 19:35:04 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-24 08:23:32 +0100 |
commit | 21082313c028bb0ff4eae44029e202dbcb81814b (patch) | |
tree | 22817dc73a625e36e554721939cc1a601e1222ac | |
parent | cc29bec8bbfb682bd49f7efa9225c50a6c7235fe (diff) | |
download | linux-stable-21082313c028bb0ff4eae44029e202dbcb81814b.tar.gz linux-stable-21082313c028bb0ff4eae44029e202dbcb81814b.tar.bz2 linux-stable-21082313c028bb0ff4eae44029e202dbcb81814b.zip |
mac80211: minstrel: fix CCK rate group streams value
[ Upstream commit 80df9be67c44cb636bbc92caeddad8caf334c53c ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
-rw-r--r-- | net/mac80211/rc80211_minstrel_ht.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/rc80211_minstrel_ht.c b/net/mac80211/rc80211_minstrel_ht.c index 25cb3e5f8b48..bc97d31907f6 100644 --- a/net/mac80211/rc80211_minstrel_ht.c +++ b/net/mac80211/rc80211_minstrel_ht.c @@ -129,7 +129,7 @@ #define CCK_GROUP \ [MINSTREL_CCK_GROUP] = { \ - .streams = 0, \ + .streams = 1, \ .flags = 0, \ .duration = { \ CCK_DURATION_LIST(false), \ |