]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: minstrel_ht: fix MCS_GROUP_RATES usage
authorKarl Beldan <karl.beldan@rivierawaves.com>
Mon, 29 Sep 2014 00:36:30 +0000 (02:36 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 9 Oct 2014 08:51:19 +0000 (10:51 +0200)
commit97c8675e7a5303a28e53bdc339e24d2695175905
treed82900fd059951a7368c443ed5a7a38d7c841b74
parent63b121990a3a6ffae767bdb4c69452d76d54b31b
mac80211: minstrel_ht: fix MCS_GROUP_RATES usage

Commit f4ba8662e180 ("mac80211: improve minstrel_ht rate sorting by
throughput & probability") replaced the constant 8 with MCS_GROUP_RATES
when getting the number of streams of an HT MCS. See commit d702486aa499
("mac80211: minstrel_ht: replace some occurences of MCS_GROUP_RATES").

Fixes: f4ba8662e180 ("mac80211: improve minstrel_ht rate sorting by throughput & probability")
Signed-off-by: Karl Beldan <karl.beldan@rivierawaves.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rc80211_minstrel_ht.c