1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-25 00:16:45 +00:00
Lakka-LibreELEC/packages/linux-drivers/bcm_sta/patches/bcm_sta-0004-null-pointer-crash.patch

12 lines
307 B
Diff

--- a/x86-64/src/wl/sys/wl_linux.c
+++ b/x86-64/src/wl/sys/wl_linux.c
@@ -2160,8 +2160,8 @@ wl_start(struct sk_buff *skb, struct net
wlif = WL_DEV_IF(dev);
wl = WL_INFO(dev);
+ skb->prev = NULL;
if (WL_ALL_PASSIVE_ENAB(wl) || (WL_RTR() && WL_CONFIG_SMP())) {
- skb->prev = NULL;
TXQ_LOCK(wl);