aboutsummaryrefslogtreecommitdiffstats
path: root/package/madwifi/patches/431-compile_fixes.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2009-05-14 19:00:11 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2009-05-14 19:00:11 +0000
commitf9532a06b17d38f86e116b2ef57629ebe4b5d12d (patch)
treef36ec534c036fa5994ec4af9a6cc26c338037489 /package/madwifi/patches/431-compile_fixes.patch
parent8295ad3444d5f579ec16694cba8553d5936a815b (diff)
downloadupstream-f9532a06b17d38f86e116b2ef57629ebe4b5d12d.tar.gz
upstream-f9532a06b17d38f86e116b2ef57629ebe4b5d12d.tar.bz2
upstream-f9532a06b17d38f86e116b2ef57629ebe4b5d12d.zip
Make madwifi compile with kernel 2.6.30.
SVN-Revision: 15850
Diffstat (limited to 'package/madwifi/patches/431-compile_fixes.patch')
-rw-r--r--package/madwifi/patches/431-compile_fixes.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/madwifi/patches/431-compile_fixes.patch b/package/madwifi/patches/431-compile_fixes.patch
index 03ca2e64bd..16485cb8e5 100644
--- a/package/madwifi/patches/431-compile_fixes.patch
+++ b/package/madwifi/patches/431-compile_fixes.patch
@@ -6,7 +6,7 @@
sc->sc_isr &= ~HAL_INT_RX;
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29)
-+ if (netif_rx_schedule_prep(&sc->sc_napi))
++ if (napi_schedule_prep(&sc->sc_napi))
+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
if (netif_rx_schedule_prep(dev, &sc->sc_napi))
#else
@@ -17,7 +17,7 @@
ath_hal_intrset(ah, sc->sc_imask);
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29)
-+ __netif_rx_schedule(&sc->sc_napi);
++ __napi_schedule(&sc->sc_napi);
+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
__netif_rx_schedule(dev, &sc->sc_napi);
#else
@@ -28,7 +28,7 @@
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29)
-+ netif_rx_complete(napi);
++ napi_complete(napi);
+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,24)
netif_rx_complete(dev, napi);
#else