0
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2025-01-05 20:57:58 +00:00
Lakka-LibreELEC/packages/linux-drivers/bcm_sta/patches/bcm_sta-0004-null-pointer-crash-i386.patch
Tomáš Kelemen (vudiq) 9940cf0519 bcm_sta: fix build for i386
2021-10-05 12:55:53 +02:00

12 lines
307 B
Diff

--- a/x86-32/src/wl/sys/wl_linux.c
+++ b/x86-32/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);