diff options
Diffstat (limited to 'drivers/net/wireless')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/main.c b/drivers/net/wireless/ath/ath9k/main.c index 0f1b62456141..a818e4fd56f5 100644 --- a/drivers/net/wireless/ath/ath9k/main.c +++ b/drivers/net/wireless/ath/ath9k/main.c | |||
@@ -285,7 +285,8 @@ int ath_set_channel(struct ath_softc *sc, struct ieee80211_hw *hw, | |||
285 | ath9k_hw_set_interrupts(ah, ah->imask); | 285 | ath9k_hw_set_interrupts(ah, ah->imask); |
286 | 286 | ||
287 | if (!(sc->sc_flags & (SC_OP_OFFCHANNEL))) { | 287 | if (!(sc->sc_flags & (SC_OP_OFFCHANNEL))) { |
288 | ath_beacon_config(sc, NULL); | 288 | if (sc->sc_flags & SC_OP_BEACONS) |
289 | ath_beacon_config(sc, NULL); | ||
289 | ieee80211_queue_delayed_work(sc->hw, &sc->tx_complete_work, 0); | 290 | ieee80211_queue_delayed_work(sc->hw, &sc->tx_complete_work, 0); |
290 | ath_start_ani(common); | 291 | ath_start_ani(common); |
291 | } | 292 | } |