wok-current view broadcom-wl64/stuff/006-linux411.patch @ rev 25701

Fix dep for libglamoregl.so (libepoxy), and miss file for amdgpu (thanks alanyih)
author Stanislas Leduc <shann@slitaz.org>
date Fri Apr 19 12:48:51 2024 +0000 (2 months ago)
parents
children
line source
1 diff -u sys0/wl_cfg80211_hybrid.c sys/wl_cfg80211_hybrid.c
2 --- a/src/wl/sys/wl_cfg80211_hybrid.c
3 +++ b/src/wl/sys/wl_cfg80211_hybrid.c
4 @@ -39,6 +39,10 @@
5 #include <proto/802.11.h>
6 #include <wl_cfg80211_hybrid.h>
8 +#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 11, 0)
9 +#include <linux/sched/signal.h>
10 +#endif
11 +
12 #define EVENT_TYPE(e) dtoh32((e)->event_type)
13 #define EVENT_FLAGS(e) dtoh16((e)->flags)
14 #define EVENT_STATUS(e) dtoh32((e)->status)
15 diff -u sys0/wl_linux.c sys/wl_linux.c
16 --- a/src/wl/sys/wl_linux.c
17 +++ b/src/wl/sys/wl_linux.c
18 @@ -2915,7 +2915,9 @@
19 if (skb == NULL) return;
21 skb->dev = wl->monitor_dev;
22 +#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 0)
23 skb->dev->last_rx = jiffies;
24 +#endif
25 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 22)
26 skb_reset_mac_header(skb);
27 #else