]> git.pld-linux.org Git - packages/wl.git/blame - linux-4.11.patch
- fix building with kerbel 4.11
[packages/wl.git] / linux-4.11.patch
CommitLineData
94191af9
JR
1--- wl-6.30.223.271/src/wl/sys/wl_linux.c~ 2017-05-10 00:45:38.000000000 +0200
2+++ wl-6.30.223.271/src/wl/sys/wl_linux.c 2017-05-10 00:46:16.265195806 +0200
3@@ -2929,7 +2929,9 @@
4 if (skb == NULL) return;
5
6 skb->dev = wl->monitor_dev;
7+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0)
8 skb->dev->last_rx = jiffies;
9+#endif
10 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 22)
11 skb_reset_mac_header(skb);
12 #else
13--- wl-6.30.223.271/src/wl/sys/wl_cfg80211_hybrid.c~ 2017-05-10 00:48:08.000000000 +0200
14+++ wl-6.30.223.271/src/wl/sys/wl_cfg80211_hybrid.c 2017-05-10 00:49:17.837333867 +0200
15@@ -30,6 +30,9 @@
16 #include <linux/kthread.h>
17 #include <linux/netdevice.h>
18 #include <linux/ieee80211.h>
19+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
20+#include <linux/sched/signal.h>
21+#endif
22 #include <net/cfg80211.h>
23 #include <linux/nl80211.h>
24 #include <net/rtnetlink.h>
This page took 0.094841 seconds and 4 git commands to generate.