summaryrefslogtreecommitdiff
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
commit0752cb311616109c21dcb290f3d6d2587d83d50c (patch)
tree0f2887041d7c8c12ff74ea4d2fff1750edb664bf
parentc9baa75cb7c741fb63cf51da5e2587c64d9a8c83 (diff)
downloadmtk-20170518-0752cb311616109c21dcb290f3d6d2587d83d50c.zip
mtk-20170518-0752cb311616109c21dcb290f3d6d2587d83d50c.tar.gz
mtk-20170518-0752cb311616109c21dcb290f3d6d2587d83d50c.tar.bz2
fix madwifi compile when using slab allocator
SVN-Revision: 3937
-rw-r--r--openwrt/package/madwifi/patches/106-slab_fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/openwrt/package/madwifi/patches/106-slab_fix.patch b/openwrt/package/madwifi/patches/106-slab_fix.patch
new file mode 100644
index 0000000..8de7dc7
--- /dev/null
+++ b/openwrt/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>