fix madwifi compile when using slab allocator
authorMike Baker <mbm@openwrt.org>
Tue, 13 Jun 2006 18:27:55 +0000 (18:27 +0000)
committerMike Baker <mbm@openwrt.org>
Tue, 13 Jun 2006 18:27:55 +0000 (18:27 +0000)
SVN-Revision: 3937

openwrt/target/linux/package/madwifi/patches/105-slab_fix.patch [new file with mode: 0644]

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 (file)
index 0000000..8de7dc7
--- /dev/null
@@ -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>