aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2006-06-13 18:27:55 +0000
committerMike Baker <mbm@openwrt.org>2006-06-13 18:27:55 +0000
commitdb6fef4274bfd38d089a6c068dcce1720da9a29b (patch)
tree260ba08649ad05eee26d64b6708924f28b353c1d
parent397b2228bc8b4755a7916ec7dbf3d84cfb745c64 (diff)
downloadupstream-db6fef4274bfd38d089a6c068dcce1720da9a29b.tar.gz
upstream-db6fef4274bfd38d089a6c068dcce1720da9a29b.tar.bz2
upstream-db6fef4274bfd38d089a6c068dcce1720da9a29b.zip
fix madwifi compile when using slab allocator
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3937 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--openwrt/target/linux/package/madwifi/patches/105-slab_fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/openwrt/target/linux/package/madwifi/patches/105-slab_fix.patch b/openwrt/target/linux/package/madwifi/patches/105-slab_fix.patch
new file mode 100644
index 00000000000..8de7dc7e432
--- /dev/null
+++ b/openwrt/target/linux/package/madwifi/patches/105-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>