diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2009-08-13 00:04:25 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-08-14 09:14:08 -0400 |
commit | 1aa8e84736fb1a584c679f2893245826583a0526 (patch) | |
tree | eaf56fa92b250c8c4e714dc4171cd39810c93b86 /drivers/net/wireless/ath/ath9k/main.c | |
parent | 2a219eb26793fc4c47b3ad7b84bded7b66f6e2c4 (diff) |
ath9k: Remove has_hw_phycounters
PHY counters are available in all chipsets supported
by ath9k. Remove the check.
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/main.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index b29d0ff74514..3eb6dc0c8e21 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c | |||
@@ -2214,8 +2214,7 @@ static int ath9k_add_interface(struct ieee80211_hw *hw, | |||
2214 | if ((conf->type == NL80211_IFTYPE_STATION) || | 2214 | if ((conf->type == NL80211_IFTYPE_STATION) || |
2215 | (conf->type == NL80211_IFTYPE_ADHOC) || | 2215 | (conf->type == NL80211_IFTYPE_ADHOC) || |
2216 | (conf->type == NL80211_IFTYPE_MESH_POINT)) { | 2216 | (conf->type == NL80211_IFTYPE_MESH_POINT)) { |
2217 | if (ath9k_hw_phycounters(sc->sc_ah)) | 2217 | sc->imask |= ATH9K_INT_MIB; |
2218 | sc->imask |= ATH9K_INT_MIB; | ||
2219 | sc->imask |= ATH9K_INT_TSFOOR; | 2218 | sc->imask |= ATH9K_INT_TSFOOR; |
2220 | } | 2219 | } |
2221 | 2220 | ||