diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/beacon.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/beacon.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/beacon.c b/drivers/net/wireless/ath/ath9k/beacon.c index 626418222c85..df5b6acd805f 100644 --- a/drivers/net/wireless/ath/ath9k/beacon.c +++ b/drivers/net/wireless/ath/ath9k/beacon.c | |||
@@ -369,6 +369,9 @@ void ath_beacon_tasklet(unsigned long data) | |||
369 | if (ath9k_hw_numtxpending(ah, sc->beacon.beaconq) != 0) { | 369 | if (ath9k_hw_numtxpending(ah, sc->beacon.beaconq) != 0) { |
370 | sc->beacon.bmisscnt++; | 370 | sc->beacon.bmisscnt++; |
371 | 371 | ||
372 | if (!ath9k_hw_check_alive(ah)) | ||
373 | ieee80211_queue_work(sc->hw, &sc->hw_check_work); | ||
374 | |||
372 | if (sc->beacon.bmisscnt < BSTUCK_THRESH * sc->nbcnvifs) { | 375 | if (sc->beacon.bmisscnt < BSTUCK_THRESH * sc->nbcnvifs) { |
373 | ath_dbg(common, BSTUCK, | 376 | ath_dbg(common, BSTUCK, |
374 | "missed %u consecutive beacons\n", | 377 | "missed %u consecutive beacons\n", |