]> git.baikalelectronics.ru Git - kernel.git/commit
iwlegacy: fix rate control regression
authorStanislaw Gruszka <sgruszka@redhat.com>
Tue, 4 Jun 2013 12:19:10 +0000 (14:19 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 12 Jun 2013 18:24:22 +0000 (14:24 -0400)
commit5f4534adc9372554649d4e16af6248372f4918f6
treec52edb997a58733ab83c581c59d3fc35dba2d424
parent466d002940c1fdb4b8e94128fa391426f663c62e
iwlegacy: 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.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlegacy/3945-rs.c
drivers/net/wireless/iwlegacy/4965-rs.c