Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 214691
b: refs/heads/master
c: 52b8ac9
h: refs/heads/master
i:
  214689: 975f588
  214687: 0678b7e
v: v3
  • Loading branch information
Luis R. Rodriguez authored and John W. Linville committed Sep 16, 2010
1 parent eed07e9 commit 404420b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8ab2cd09fecc8819bbaee2d0fd8f3a092d866ce3
refs/heads/master: 52b8ac92496e03d6b5619204d7f3bae6ce6eae45
6 changes: 4 additions & 2 deletions trunk/drivers/net/wireless/ath/ath9k/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,11 @@ int ath_set_channel(struct ath_softc *sc, struct ieee80211_hw *hw,
if (!(sc->sc_flags & (SC_OP_OFFCHANNEL | SC_OP_SCANNING))) {
ath_start_ani(common);
ieee80211_queue_delayed_work(sc->hw, &sc->tx_complete_work, 0);
ath_beacon_config(sc, NULL);
}

if (!(sc->sc_flags & (SC_OP_OFFCHANNEL)))
ath_beacon_config(sc, NULL);

ps_restore:
ath9k_ps_restore(sc);
return r;
Expand Down Expand Up @@ -957,7 +959,7 @@ int ath_reset(struct ath_softc *sc, bool retry_tx)

ath_update_txpow(sc);

if (sc->sc_flags & SC_OP_BEACONS)
if ((sc->sc_flags & SC_OP_BEACONS) || !(sc->sc_flags & (SC_OP_OFFCHANNEL)))
ath_beacon_config(sc, NULL); /* restart beacons */

ath9k_hw_set_interrupts(ah, ah->imask);
Expand Down

0 comments on commit 404420b

Please sign in to comment.