mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 17:42:41 +00:00
34 lines
1.2 KiB
Diff
34 lines
1.2 KiB
Diff
From 87373db3b74851bc9ff550cb42189a9051a01052 Mon Sep 17 00:00:00 2001
|
|
From: John Crispin <john@phrozen.org>
|
|
Date: Wed, 7 Sep 2022 11:08:14 +0200
|
|
Subject: [PATCH 41/68] libubox: do not clear the cancled flag when a runqueue
|
|
task is aborted
|
|
|
|
Signed-off-by: John Crispin <john@phrozen.org>
|
|
---
|
|
.../libs/libubox/patches/000-runqueue-cancle.patch | 12 ++++++++++++
|
|
1 file changed, 12 insertions(+)
|
|
create mode 100644 package/libs/libubox/patches/000-runqueue-cancle.patch
|
|
|
|
diff --git a/package/libs/libubox/patches/000-runqueue-cancle.patch b/package/libs/libubox/patches/000-runqueue-cancle.patch
|
|
new file mode 100644
|
|
index 0000000000..623a474aca
|
|
--- /dev/null
|
|
+++ b/package/libs/libubox/patches/000-runqueue-cancle.patch
|
|
@@ -0,0 +1,12 @@
|
|
+Index: libubox-2022-05-15-d2223ef9/runqueue.c
|
|
+===================================================================
|
|
+--- libubox-2022-05-15-d2223ef9.orig/runqueue.c
|
|
++++ libubox-2022-05-15-d2223ef9/runqueue.c
|
|
+@@ -228,7 +228,6 @@ void runqueue_task_complete(struct runqu
|
|
+ safe_list_del(&t->list);
|
|
+ t->queued = false;
|
|
+ t->running = false;
|
|
+- t->cancelled = false;
|
|
+ if (t->complete)
|
|
+ t->complete(q, t);
|
|
+ runqueue_start_next(q);
|
|
--
|
|
2.34.1
|
|
|