]> bbs.cooldavid.org Git - net-next-2.6.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)
commit4e9900180eb72b3b22fc9742999045b11607eb24
tree60717f44b958e60013b84d7e595b5a8423f1145a
parent772d5515635fef5bc7a9d0efee785b58b0181ee5
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