When ath_hal_stoptxdma returns an error dma is still likely stopped
so don't just stop trying to send a beacon frame or we'll be more likely to lose sync. This only seems to happen on some older chips.
This commit is contained in:
parent
7bbf937701
commit
a9c0425768
@ -1232,7 +1232,7 @@ ath_beacon_proc(void *arg, int pending)
|
||||
if (!ath_hal_stoptxdma(ah, sc->sc_bhalq)) {
|
||||
DPRINTF(ATH_DEBUG_ANY, ("%s: beacon queue %u did not stop?\n",
|
||||
__func__, sc->sc_bhalq));
|
||||
return; /* busy, XXX is this right? */
|
||||
/* NB: the HAL still stops DMA, so proceed */
|
||||
}
|
||||
bus_dmamap_sync(sc->sc_dmat, bf->bf_dmamap, BUS_DMASYNC_PREWRITE);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user