aboutsummaryrefslogtreecommitdiffstats
path: root/package/ath9k/patches/100-bad_udelay.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2008-07-22 07:24:47 +0000
committerImre Kaloz <kaloz@openwrt.org>2008-07-22 07:24:47 +0000
commitb8eb34e5c3fc24af5748576786200befcff6312d (patch)
tree658a220a486a15b5ebe55f0c2422cc12bef60e73 /package/ath9k/patches/100-bad_udelay.patch
parente0a748c051caf7b6e0ee6eb52b13f468188da15a (diff)
downloadupstream-b8eb34e5c3fc24af5748576786200befcff6312d.tar.gz
upstream-b8eb34e5c3fc24af5748576786200befcff6312d.tar.bz2
upstream-b8eb34e5c3fc24af5748576786200befcff6312d.zip
sync ath9k with the git tree
SVN-Revision: 11902
Diffstat (limited to 'package/ath9k/patches/100-bad_udelay.patch')
-rw-r--r--package/ath9k/patches/100-bad_udelay.patch15
1 files changed, 0 insertions, 15 deletions
diff --git a/package/ath9k/patches/100-bad_udelay.patch b/package/ath9k/patches/100-bad_udelay.patch
deleted file mode 100644
index 98f33d7176..0000000000
--- a/package/ath9k/patches/100-bad_udelay.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Replace udelay(3000) with mdelay(3), because udelay(3000) fails on ARM
-
-Signed-off-by: Felix Fietkau <nbd@openwrt.org>
-
---- a/drivers/net/wireless/ath9k/recv.c
-+++ b/drivers/net/wireless/ath9k/recv.c
-@@ -737,7 +737,7 @@
- ath9k_hw_stoppcurecv(ah); /* disable PCU */
- ath9k_hw_setrxfilter(ah, 0); /* clear recv filter */
- stopped = ath9k_hw_stopdmarecv(ah); /* disable DMA engine */
-- udelay(3000); /* 3ms is long enough for 1 frame */
-+ mdelay(3); /* 3ms is long enough for 1 frame */
- tsf = ath9k_hw_gettsf64(ah);
- sc->sc_rxlink = NULL; /* just in case */
- return stopped;