1 Replace udelay(3000) with mdelay(3), because udelay(3000) fails on ARM
3 Signed-off-by: Felix Fietkau <nbd@openwrt.org>
5 --- a/drivers/net/wireless/ath9k/recv.c
6 +++ b/drivers/net/wireless/ath9k/recv.c
8 ath9k_hw_stoppcurecv(ah); /* disable PCU */
9 ath9k_hw_setrxfilter(ah, 0); /* clear recv filter */
10 stopped = ath9k_hw_stopdmarecv(ah); /* disable DMA engine */
11 - udelay(3000); /* 3ms is long enough for 1 frame */
12 + mdelay(3); /* 3ms is long enough for 1 frame */
13 tsf = ath9k_hw_gettsf64(ah);
14 sc->sc_rxlink = NULL; /* just in case */