summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath9k/recv.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-09-14 20:22:44 +0200
committerJohn W. Linville <linville@tuxdriver.com>2010-09-14 16:14:27 -0400
commit364734fafbba0c3133e482db78149b9a823ae7a5 (patch)
treef41e8faacdc270a7ad28ee51ae56edc6989c7675 /drivers/net/wireless/ath/ath9k/recv.c
parent3ae74c33c4f799f6bf6d67240a94a0814a8f1944 (diff)
downloadlwn-364734fafbba0c3133e482db78149b9a823ae7a5.tar.gz
lwn-364734fafbba0c3133e482db78149b9a823ae7a5.zip
ath9k_hw: remove useless hw capability flags
Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/recv.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/recv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c
index b32c8f033d20..6fb3b4536045 100644
--- a/drivers/net/wireless/ath/ath9k/recv.c
+++ b/drivers/net/wireless/ath/ath9k/recv.c
@@ -119,8 +119,7 @@ static void ath_opmode_init(struct ath_softc *sc)
ath9k_hw_setrxfilter(ah, rfilt);
/* configure bssid mask */
- if (ah->caps.hw_caps & ATH9K_HW_CAP_BSSIDMASK)
- ath_hw_setbssidmask(common);
+ ath_hw_setbssidmask(common);
/* configure operational mode */
ath9k_hw_setopmode(ah);