ath9k: Maintain rate table choice after association
commit3706de6f58962ba74c18eb4cb1ebe034ff723037
authorSujith <Sujith.Manoharan@atheros.com>
Sun, 7 Dec 2008 16:12:10 +0000 (7 21:42 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 12 Dec 2008 18:48:24 +0000 (12 13:48 -0500)
treef7abfd387c67b07ae27c57609a7aa819140ae103
parent40990ec01fcca0b86a19c13a5d3deb77da1913a7
ath9k: Maintain rate table choice after association

A scan run after association would change sc_curmode which is
used to get the current rate table. This patch fixes it
by removing sc_curmode and setting the rate table in usage in cur_rate_table
on association.

Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/beacon.c
drivers/net/wireless/ath9k/core.h
drivers/net/wireless/ath9k/main.c
drivers/net/wireless/ath9k/rc.c
drivers/net/wireless/ath9k/recv.c
drivers/net/wireless/ath9k/xmit.c