ucentral-client: update to latest HEAD

f5e5a61 propagate "cancelled" when a runqueue job timed out

Fixes: WIFI-10768
Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
John Crispin
2022-09-07 13:42:24 +02:00
parent 19f0260c0a
commit ed397f5ce4
2 changed files with 35 additions and 2 deletions

View File

@@ -0,0 +1,33 @@
From 2d1e4a5142af4f82c4becb58cb7bedcec9067b41 Mon Sep 17 00:00:00 2001
From: John Crispin <john@phrozen.org>
Date: Wed, 7 Sep 2022 11:08:14 +0200
Subject: [PATCH] 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.25.1