Jon West | 56e83b3 | 2021-04-14 12:38:06 -0400 | [diff] [blame] | 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 |