Add a comment about this DELAY(), I'm not sure whether it's supposed
to be for a DDR/FIFO flush or something else.
This commit is contained in:
parent
bd74977b95
commit
252b5377f0
@ -5417,6 +5417,10 @@ ath_stoprecv(struct ath_softc *sc, int dodelay)
|
|||||||
ath_hal_stoppcurecv(ah); /* disable PCU */
|
ath_hal_stoppcurecv(ah); /* disable PCU */
|
||||||
ath_hal_setrxfilter(ah, 0); /* clear recv filter */
|
ath_hal_setrxfilter(ah, 0); /* clear recv filter */
|
||||||
ath_hal_stopdmarecv(ah); /* disable DMA engine */
|
ath_hal_stopdmarecv(ah); /* disable DMA engine */
|
||||||
|
/*
|
||||||
|
* TODO: see if this particular DELAY() is required; it may be
|
||||||
|
* masking some missing FIFO flush or DMA sync.
|
||||||
|
*/
|
||||||
if (dodelay)
|
if (dodelay)
|
||||||
DELAY(3000); /* 3ms is long enough for 1 frame */
|
DELAY(3000); /* 3ms is long enough for 1 frame */
|
||||||
#ifdef ATH_DEBUG
|
#ifdef ATH_DEBUG
|
||||||
|
Loading…
Reference in New Issue
Block a user