Commit 05a1e2d1 authored by Sujith's avatar Sujith Committed by John W. Linville
Browse files

ath9k: Enable interrupts at the proper place

config_interface() was the wrong place to enable interrupts
when bringing up an interface, move it to ath_open().
Signed-off-by: default avatarSujith <>
Signed-off-by: default avatarJohn W. Linville <>
parent 154662a6
......@@ -675,13 +675,12 @@ int ath_open(struct ath_softc *sc, struct ath9k_channel *initial_chan)
ath_setcurmode(sc, ath_chan2mode(initial_chan));
* Don't enable interrupts here as we've not yet built our
* vap and node data structures, which will be needed as soon
* as we start receiving.
sc->sc_flags &= ~SC_OP_INVALID;
/* Disable BMISS interrupt when we're not associated */
sc->sc_imask &= ~(ATH9K_INT_SWBA | ATH9K_INT_BMISS);
return error;
......@@ -1237,12 +1237,6 @@ static int ath9k_config_interface(struct ieee80211_hw *hw,
/* Set aggregation protection mode parameters */
sc->sc_config.ath_aggr_prot = 0;
/* Disable BMISS interrupt when we're not associated */
sc->sc_imask &
sc->sc_imask &= ~(ATH9K_INT_SWBA | ATH9K_INT_BMISS);
"%s: RX filter 0x%x bssid %pM aid 0x%x\n",
__func__, rfilt,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment