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

@@ -4,10 +4,10 @@ PKG_NAME:=ucentral-client
PKG_RELEASE:=1
PKG_SOURCE_URL=https://github.com/Telecominfraproject/wlan-ucentral-client.git
PKG_MIRROR_HASH:=6acab42bb6dd5ec61f5d5e6895fefdfe66f1d8603d17a886b6503de249184017
PKG_MIRROR_HASH:=98b982e730df1a8683cb8c791a071d2147ee014b66313eecf260bf53443ea8db
PKG_SOURCE_PROTO:=git
PKG_SOURCE_DATE:=2022-06-22
PKG_SOURCE_VERSION:=b0e7432966219f9c04a66299dcd7a026f0ff61a7
PKG_SOURCE_VERSION:=f5e5a615dcc75395f1a9643a71717b1c7c437f20
PKG_LICENSE:=BSD-3-Clause
PKG_MAINTAINER:=John Crispin <john@phrozen.org>

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