summaryrefslogtreecommitdiff
path: root/openwrt/target/linux/package/madwifi/patches/105-slab_fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/target/linux/package/madwifi/patches/105-slab_fix.patch')
-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 0000000000..8de7dc7e43
--- /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>