aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/core.h
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2008-12-07 11:11:37 -0500
committerJohn W. Linville <linville@tuxdriver.com>2008-12-12 13:48:23 -0500
commit40990ec01fcca0b86a19c13a5d3deb77da1913a7 (patch)
tree95dd971d3680b1c836e0bab8483833c965041448 /drivers/net/wireless/ath9k/core.h
parent6b3aa6ab787fe545c58554b7ce5c94de53526b83 (diff)
ath9k: Fix bug in rate table management
The proper rate table wouldn't be used if a disassoc happens and a new attempt is made to associate using wpa_supplicant. This patch fixes it by storing the rate table to be used on association. Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/core.h')
-rw-r--r--drivers/net/wireless/ath9k/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath9k/core.h b/drivers/net/wireless/ath9k/core.h
index ca8ed7dcd7bc..726d0a38d240 100644
--- a/drivers/net/wireless/ath9k/core.h
+++ b/drivers/net/wireless/ath9k/core.h
@@ -702,6 +702,7 @@ struct ath_softc {
702 /* Rate */ 702 /* Rate */
703 struct ieee80211_rate rates[IEEE80211_NUM_BANDS][ATH_RATE_MAX]; 703 struct ieee80211_rate rates[IEEE80211_NUM_BANDS][ATH_RATE_MAX];
704 struct ath_rate_table *hw_rate_table[ATH9K_MODE_MAX]; 704 struct ath_rate_table *hw_rate_table[ATH9K_MODE_MAX];
705 struct ath_rate_table *cur_rate_table;
705 u8 sc_protrix; 706 u8 sc_protrix;
706 707
707 /* Channel, Band */ 708 /* Channel, Band */