From: Sujith Manoharan Date: Wed, 14 Mar 2012 09:10:20 +0000 (+0530) Subject: ath9k: Remove unnecessary initialization X-Git-Tag: v3.12-rc1~3664^2~48^2~28 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bf106e14735d5e82e995c5c03bf07bce54e5d530;p=kernel%2Fkernel-generic.git ath9k: Remove unnecessary initialization There is no need to mask out SWBA/BMISS from the interrupt mask in start(). Signed-off-by: Sujith Manoharan Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index 4a99010..db38a4e 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) sc->sc_flags &= ~SC_OP_INVALID; sc->sc_ah->is_monitoring = false; - /* Disable BMISS interrupt when we're not associated */ - ah->imask &= ~(ATH9K_INT_SWBA | ATH9K_INT_BMISS); - if (!ath_complete_reset(sc, false)) { r = -EIO; spin_unlock_bh(&sc->sc_pcu_lock);