]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: remove sc->cur_rate_table and sc->cur_rate_mode
authorFelix Fietkau <nbd@openwrt.org>
Wed, 13 Oct 2010 14:43:27 +0000 (16:43 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 15 Oct 2010 19:48:45 +0000 (15:48 -0400)
commit5157bbae0527c5c27e6771211e4f3f0f7d6d41ea
tree60717f44b958e60013b84d7e595b5a8423f1145a
parentb8d571f9cbdddb3f266ba8d5f22053313a004174
ath9k: remove sc->cur_rate_table and sc->cur_rate_mode

Set the rate table in the rc module properly based on band and
HT capabilities instead, which was already partially done, but
not for every mode.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/main.c
drivers/net/wireless/ath/ath9k/rc.c