]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: minstrel_ht: fix per-group max throughput rate initialization
authorFelix Fietkau <nbd@nbd.name>
Tue, 20 Aug 2019 09:54:46 +0000 (11:54 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 21 Aug 2019 09:08:21 +0000 (11:08 +0200)
commit4478f8317405ed38fa480f01616a63f8fe7ea096
treed48d91549f6e18cd9b569e217476d77b7a78e4e0
parenta9e1e7e2c8f5818d363df6e8779d3e93fb2fd475
mac80211: minstrel_ht: fix per-group max throughput rate initialization

The group number needs to be multiplied by the number of rates per group
to get the full rate index

Fixes: f4ba8662e180 ("mac80211: improve minstrel_ht rate sorting by throughput & probability")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20190820095449.45255-1-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rc80211_minstrel_ht.c