diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/beacon.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/beacon.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/beacon.c b/drivers/net/wireless/ath/ath9k/beacon.c index 702e5abc38b2..11bc55e3d697 100644 --- a/drivers/net/wireless/ath/ath9k/beacon.c +++ b/drivers/net/wireless/ath/ath9k/beacon.c | |||
@@ -817,8 +817,10 @@ void ath9k_set_beaconing_status(struct ath_softc *sc, bool status) | |||
817 | { | 817 | { |
818 | struct ath_hw *ah = sc->sc_ah; | 818 | struct ath_hw *ah = sc->sc_ah; |
819 | 819 | ||
820 | if (!ath_has_valid_bslot(sc)) | 820 | if (!ath_has_valid_bslot(sc)) { |
821 | sc->sc_flags &= ~SC_OP_BEACONS; | ||
821 | return; | 822 | return; |
823 | } | ||
822 | 824 | ||
823 | ath9k_ps_wakeup(sc); | 825 | ath9k_ps_wakeup(sc); |
824 | if (status) { | 826 | if (status) { |