summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-06-13 18:27:55 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-06-13 18:27:55 +0000
commitcff40066b4e9aef995b0135718dc49ad3e652674 (patch)
tree4ef32268ada989e5c3b942af5c0caa6e610fd587
parentcdc73099dbdfac99838394cedbd76ecf68eedd0c (diff)
fix madwifi compile when using slab allocator
git-svn-id: svn://svn.openwrt.org/openwrt/branches/buildroot-ng/openwrt@3937 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--package/madwifi/patches/106-slab_fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/madwifi/patches/106-slab_fix.patch b/package/madwifi/patches/106-slab_fix.patch
new file mode 100644
index 000000000..8de7dc7e4
--- /dev/null
+++ b/package/madwifi/patches/106-slab_fix.patch
@@ -0,0 +1,11 @@
+diff -ruN madwifi-ng-r1590-20060523/net80211/ieee80211_linux.c madwifi-ng-r1590-20060523-patch/net80211/ieee80211_linux.c
+--- madwifi-ng-r1590-20060523/net80211/ieee80211_linux.c 2006-06-13 14:26:25 -04:00
++++ madwifi-ng-r1590-20060523-patch/net80211/ieee80211_linux.c 2006-06-13 14:26:41 -04:00
+@@ -44,6 +44,7 @@
+ #include <linux/etherdevice.h>
+ #include <linux/if_vlan.h>
+ #include <linux/vmalloc.h>
++#include <linux/slab.h>
+
+ #include <net/iw_handler.h>
+ #include <linux/wireless.h>