summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuðni Már Gilbert <gudni.m.g@gmail.com>2025-04-05 14:00:22 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-04-10 11:05:34 +0100
commit92038bcbbdf10ba3b420d34615523e75102946bc (patch)
treec34b331765555617748a42b4d39fbc5aaba3e092
parent518320024799ab051f20f35003d3248bbfadb612 (diff)
downloadpoky-92038bcbbdf10ba3b420d34615523e75102946bc.tar.gz
bluez5: remove obsolete patch for test-gatt
The issue is no longer present. Tested BlueZ 5.80 and 5.82 The issue has likely been gone for quite a while. (From OE-Core rev: 87ab9c39c497c2a8b558e8d6ce673a931a5887b2) 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>
-rw-r--r--meta/recipes-connectivity/bluez5/bluez5.inc1
-rw-r--r--meta/recipes-connectivity/bluez5/bluez5/0001-test-gatt-Fix-hung-issue.patch40
2 files changed, 0 insertions, 41 deletions
diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc
index bc913cb7cf..7bae968094 100644
--- a/meta/recipes-connectivity/bluez5/bluez5.inc
+++ b/meta/recipes-connectivity/bluez5/bluez5.inc
@@ -67,7 +67,6 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.xz \
67 file://init \ 67 file://init \
68 file://run-ptest \ 68 file://run-ptest \
69 file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \ 69 file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \
70 file://0001-test-gatt-Fix-hung-issue.patch \
71 file://0001-bluez5-disable-aics-tests.patch \ 70 file://0001-bluez5-disable-aics-tests.patch \
72 " 71 "
73S = "${WORKDIR}/bluez-${PV}" 72S = "${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
index c421d84206..0000000000
--- a/meta/recipes-connectivity/bluez5/bluez5/0001-test-gatt-Fix-hung-issue.patch
+++ /dev/null
@@ -1,40 +0,0 @@
1From 8667217e9e7abf6ae50a1bd09dc9f7142a861211 Mon Sep 17 00:00:00 2001
2From: Mingli Yu <Mingli.Yu@windriver.com>
3Date: Fri, 24 Aug 2018 12:04:03 +0800
4Subject: [PATCH] test-gatt: Fix hung issue
5
6The below test hangs infinitely
7$ unit/test-gatt -p /robustness/unkown-request -d
8/robustness/unkown-request - init
9/robustness/unkown-request - setup
10/robustness/unkown-request - setup complete
11/robustness/unkown-request - run
12 GATT: < 02 17 00 ...
13 bt_gatt_server:MTU exchange complete, with MTU: 23
14 GATT: > 03 00 02 ...
15 PDU: = 03 00 02 ...
16 GATT: < bf 00
17
18Actually, the /robustness/unkown-request test does
19no action.
20
21Upstream-Status: Submitted [https://marc.info/?l=linux-bluetooth&m=153508881804635&w=2]
22
23Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com>
24---
25 unit/test-gatt.c | 2 +-
26 1 file changed, 1 insertion(+), 1 deletion(-)
27
28diff --git a/unit/test-gatt.c b/unit/test-gatt.c
29index 1613fbc..25dd614 100644
30--- a/unit/test-gatt.c
31+++ b/unit/test-gatt.c
32@@ -4547,7 +4547,7 @@ int main(int argc, char *argv[])
33 test_server, service_db_1, NULL,
34 raw_pdu(0x03, 0x00, 0x02),
35 raw_pdu(0xbf, 0x00),
36- raw_pdu(0x01, 0xbf, 0x00, 0x00, 0x06));
37+ raw_pdu());
38
39 define_test_server("/robustness/unkown-command",
40 test_server, service_db_1, NULL,