aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2012-03-14 05:10:20 -0400
committerJohn W. Linville <linville@tuxdriver.com>2012-03-15 13:40:26 -0400
commitbf106e14735d5e82e995c5c03bf07bce54e5d530 (patch)
tree1e7e8fdc7f8d88ea4c0c6da7e622aabb691278e6 /drivers/net/wireless
parent9d4f09b80fb69985eca86aaf4df195b80e3d02a8 (diff)
ath9k: Remove unnecessary initialization
There is no need to mask out SWBA/BMISS from the interrupt mask in start(). Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r--drivers/net/wireless/ath/ath9k/main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c
index 4a990109081..db38a4e5a6e 100644
--- a/drivers/net/wireless/ath/ath9k/main.c
+++ b/drivers/net/wireless/ath/ath9k/main.c
@@ -1049,9 +1049,6 @@ static int ath9k_start(struct ieee80211_hw *hw)
1049 sc->sc_flags &= ~SC_OP_INVALID; 1049 sc->sc_flags &= ~SC_OP_INVALID;
1050 sc->sc_ah->is_monitoring = false; 1050 sc->sc_ah->is_monitoring = false;
1051 1051
1052 /* Disable BMISS interrupt when we're not associated */
1053 ah->imask &= ~(ATH9K_INT_SWBA | ATH9K_INT_BMISS);
1054
1055 if (!ath_complete_reset(sc, false)) { 1052 if (!ath_complete_reset(sc, false)) {
1056 r = -EIO; 1053 r = -EIO;
1057 spin_unlock_bh(&sc->sc_pcu_lock); 1054 spin_unlock_bh(&sc->sc_pcu_lock);