mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
fef4b62657
The patch is from the following Gentoo bug: https://bugs.gentoo.org/show_bug.cgi?id=523326#c24 Built successfully against Linux 3.18.36, 4.4.16 and 4.7.0. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Cc: @phreedom, @vcunat
13 lines
384 B
Diff
13 lines
384 B
Diff
diff -urN a/src/wl/sys/wl_linux.c b/src/wl/sys/wl_linux.c
|
|
--- a/src/wl/sys/wl_linux.c 2015-01-06 12:33:42.981659618 +0100
|
|
+++ b/src/wl/sys/wl_linux.c 2015-01-06 12:34:05.647395418 +0100
|
|
@@ -2157,8 +2157,8 @@
|
|
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);
|
|
|