mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-02 18:52:30 +02:00
77d61d596b
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26250 3c298f89-4303-0410-b956-a3cf2f4a3e73
13 lines
497 B
Diff
13 lines
497 B
Diff
--- a/drivers/net/wireless/ath/ath9k/beacon.c
|
|
+++ b/drivers/net/wireless/ath/ath9k/beacon.c
|
|
@@ -368,7 +368,8 @@ void ath_beacon_tasklet(unsigned long da
|
|
"missed %u consecutive beacons\n",
|
|
sc->beacon.bmisscnt);
|
|
ath9k_hw_stop_dma_queue(ah, sc->beacon.beaconq);
|
|
- ath9k_hw_bstuck_nfcal(ah);
|
|
+ if (sc->beacon.bmisscnt > 4)
|
|
+ ath9k_hw_bstuck_nfcal(ah);
|
|
} else if (sc->beacon.bmisscnt >= BSTUCK_THRESH) {
|
|
ath_dbg(common, ATH_DBG_BSTUCK,
|
|
"beacon is officially stuck\n");
|