summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/main.c
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2009-08-13 09:34:25 +0530
committerJohn W. Linville <linville@tuxdriver.com>2009-08-14 09:14:08 -0400
commit1aa8e84736fb1a584c679f2893245826583a0526 (patch)
treeeaf56fa92b250c8c4e714dc4171cd39810c93b86 /drivers/net/wireless/ath/ath9k/main.c
parent2a219eb26793fc4c47b3ad7b84bded7b66f6e2c4 (diff)
downloadlwn-1aa8e84736fb1a584c679f2893245826583a0526.tar.gz
lwn-1aa8e84736fb1a584c679f2893245826583a0526.zip
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.c3
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,
if ((conf->type == NL80211_IFTYPE_STATION) ||
(conf->type == NL80211_IFTYPE_ADHOC) ||
(conf->type == NL80211_IFTYPE_MESH_POINT)) {
- if (ath9k_hw_phycounters(sc->sc_ah))
- sc->imask |= ATH9K_INT_MIB;
+ sc->imask |= ATH9K_INT_MIB;
sc->imask |= ATH9K_INT_TSFOOR;
}