]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bluez5: remove obsolete patch for test-gatt
authorGuðni Már Gilbert <gudni.m.g@gmail.com>
Sat, 5 Apr 2025 14:00:22 +0000 (14:00 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 10 Apr 2025 08:03:09 +0000 (09:03 +0100)
The issue is no longer present. Tested BlueZ 5.80 and 5.82
The issue has likely been gone for quite a while.

Signed-off-by: Guðni Már Gilbert <gudni.m.g@gmail.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-connectivity/bluez5/bluez5.inc
meta/recipes-connectivity/bluez5/bluez5/0001-test-gatt-Fix-hung-issue.patch [deleted file]

index bc913cb7cf92ec4ab2bd5191a41c8cd13a38051d..7bae968094f2a272c4deff7416dbd1208549e6ce 100644 (file)
@@ -67,7 +67,6 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.xz \
            file://init \
            file://run-ptest \
            file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \
-           file://0001-test-gatt-Fix-hung-issue.patch \
            file://0001-bluez5-disable-aics-tests.patch \
            "
 S = "${WORKDIR}/bluez-${PV}"
diff --git a/meta/recipes-connectivity/bluez5/bluez5/0001-test-gatt-Fix-hung-issue.patch b/meta/recipes-connectivity/bluez5/bluez5/0001-test-gatt-Fix-hung-issue.patch
deleted file mode 100644 (file)
index c421d84..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-From 8667217e9e7abf6ae50a1bd09dc9f7142a861211 Mon Sep 17 00:00:00 2001
-From: Mingli Yu <Mingli.Yu@windriver.com>
-Date: Fri, 24 Aug 2018 12:04:03 +0800
-Subject: [PATCH] test-gatt: Fix hung issue
-
-The below test hangs infinitely
-$ unit/test-gatt -p  /robustness/unkown-request -d
-/robustness/unkown-request - init
-/robustness/unkown-request - setup
-/robustness/unkown-request - setup complete
-/robustness/unkown-request - run
-  GATT: < 02 17 00                                         ...
-  bt_gatt_server:MTU exchange complete, with MTU: 23
-  GATT: > 03 00 02                                         ...
-  PDU: = 03 00 02                                         ...
-  GATT: < bf 00
-
-Actually, the /robustness/unkown-request test does
-no action.
-
-Upstream-Status: Submitted [https://marc.info/?l=linux-bluetooth&m=153508881804635&w=2]
-
-Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
----
- unit/test-gatt.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/unit/test-gatt.c b/unit/test-gatt.c
-index 1613fbc..25dd614 100644
---- a/unit/test-gatt.c
-+++ b/unit/test-gatt.c
-@@ -4547,7 +4547,7 @@ int main(int argc, char *argv[])
-                       test_server, service_db_1, NULL,
-                       raw_pdu(0x03, 0x00, 0x02),
-                       raw_pdu(0xbf, 0x00),
--                      raw_pdu(0x01, 0xbf, 0x00, 0x00, 0x06));
-+                      raw_pdu());
-       define_test_server("/robustness/unkown-command",
-                       test_server, service_db_1, NULL,