Skip to content
This repository has been archived by the owner on Feb 4, 2024. It is now read-only.

Commit

Permalink
Apply patch from Debian bug #861807
Browse files Browse the repository at this point in the history
  • Loading branch information
antoineco committed May 12, 2017
1 parent c3b183f commit 358ee38
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/wl/sys/wl_cfg80211_hybrid.c
Expand Up @@ -30,6 +30,9 @@
#include <linux/kthread.h>
#include <linux/netdevice.h>
#include <linux/ieee80211.h>
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
#include <linux/sched/signal.h>
#endif
#include <net/cfg80211.h>
#include <linux/nl80211.h>
#include <net/rtnetlink.h>
Expand Down
2 changes: 2 additions & 0 deletions src/wl/sys/wl_linux.c
Expand Up @@ -2914,7 +2914,9 @@ wl_monitor(wl_info_t *wl, wl_rxsts_t *rxsts, void *p)
if (skb == NULL) return;

skb->dev = wl->monitor_dev;
#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0)
skb->dev->last_rx = jiffies;
#endif
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 22)
skb_reset_mac_header(skb);
#else
Expand Down

0 comments on commit 358ee38

Please sign in to comment.