File broadcom-wl.linux-4.11.patch of Package broadcom-wl (Revision da3122df6a67a7451b1605d1fd9acfce)

Currently displaying revision da3122df6a67a7451b1605d1fd9acfce , Show latest

24
 
1
--- a/src/wl/sys/wl_linux.c
2
+++ b/src/wl/sys/wl_linux.c
3
@@ -2915,7 +2915,6 @@ wl_monitor(wl_info_t *wl, wl_rxsts_t *rx
4
    if (skb == NULL) return;
5
 
6
    skb->dev = wl->monitor_dev;
7
-   skb->dev->last_rx = jiffies;
8
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 22)
9
    skb_reset_mac_header(skb);
10
 #else
11
--- a/src/include/linuxver.h
12
+++ b/src/include/linuxver.h
13
@@ -67,6 +67,10 @@
14
 #include <linux/pci.h>
15
 #include <linux/interrupt.h>
16
 #include <linux/netdevice.h>
17
+#include <linux/signal.h>
18
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0))
19
+#include <linux/sched/signal.h>
20
+#endif
21
 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27))
22
 #include <linux/semaphore.h>
23
 #else
24