diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2009-08-13 09:34:25 +0530 |
---|---|---|
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) | |
download | lwn-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.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, 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; } |