summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/rc.h
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2009-03-30 11:58:57 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-04-22 22:54:35 +0200
commitf5c38ef06e005705ef87b7a77752c183bacb94cc (patch)
tree3aa441c7278b5986ac2bd8842196b4a18e4b7989 /drivers/net/wireless/ath9k/rc.h
parentath9k: Determine number of streams from HT capabilities (diff)
downloadlinux-f5c38ef06e005705ef87b7a77752c183bacb94cc.tar.xz
linux-f5c38ef06e005705ef87b7a77752c183bacb94cc.zip
ath9k: Fix bug in determining HT40 mode
This patch fixes a bug in checking for HT40 mode. The STA's mode can be determined from the cached HT capabilities, use that and remove the redundant variable 'rc_phy_mode'. Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/rc.h')
-rw-r--r--drivers/net/wireless/ath9k/rc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath9k/rc.h b/drivers/net/wireless/ath9k/rc.h
index bdfd2052077c..e3abd76103fd 100644
--- a/drivers/net/wireless/ath9k/rc.h
+++ b/drivers/net/wireless/ath9k/rc.h
@@ -176,7 +176,6 @@ struct ath_rate_priv {
u8 ht_cap;
u8 valid_phy_ratecnt[WLAN_RC_PHY_MAX];
u8 valid_phy_rateidx[WLAN_RC_PHY_MAX][RATE_TABLE_SIZE];
- u8 rc_phy_mode;
u8 rate_max_phy;
u32 rssi_time;
u32 rssi_down_time;