]> git.baikalelectronics.ru Git - kernel.git/commit
iwlwifi: fix rate control regression
authorMoshe Benji <Moshe.Benji@intel.com>
Mon, 3 Jun 2013 16:27:16 +0000 (19:27 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 12 Jun 2013 12:13:39 +0000 (14:13 +0200)
commitf3414045826ac8a589946b7cb23798f5f7a64d3f
treee7a87e855038b4f85394ffcb221ad30d06616d60
parent2cc282a1ef94f1c92f0b1782a850597fa77a333d
iwlwifi: fix rate control regression

Since driver does not use control.rates[0].count, we have never set that
variable. But currently, after rate control API rewrite, this is required
by mac80211. Otherwise legacy rates control does not work and we transmit
always at 1Mbit/s on pre 11n networks.

[same fix as for iwlegacy, thanks Stanislaw!]

Signed-off-by: Moshe Benji <Moshe.Benji@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/dvm/rs.c
drivers/net/wireless/iwlwifi/mvm/rs.c