diff mbox series

[BlueZ,4/4] test-hog: Update pdu sequence

Message ID 20211006213704.1093265-4-luiz.dentz@gmail.com (mailing list archive)
State Accepted
Delegated to: Luiz Von Dentz
Headers show
Series [BlueZ,1/4] shared/att: Add bt_att_resend | expand

Checks

Context Check Description
tedd_an/checkpatch success Checkpatch PASS
tedd_an/gitlint success Gitlint PASS

Commit Message

Luiz Augusto von Dentz Oct. 6, 2021, 9:37 p.m. UTC
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

With recent changes to use bt_att_resend the procedures such as read
long will group the reads to the same handler before proceeding to the
next procedures.
---
 unit/test-hog.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
diff mbox series

Patch

diff --git a/unit/test-hog.c b/unit/test-hog.c
index e6d4affc4..bc23b58ff 100644
--- a/unit/test-hog.c
+++ b/unit/test-hog.c
@@ -243,13 +243,17 @@  int main(int argc, char *argv[])
 			0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d,
 			0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14,
 			0x15, 0x16),
-		raw_pdu(0x0a, 0x08, 0x00),
-		raw_pdu(0x0b, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06,
+		raw_pdu(0x0c, 0x04, 0x00, 0x16, 0x00),
+		raw_pdu(0x0d, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06,
 			0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d,
 			0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14,
 			0x15, 0x16),
-		raw_pdu(0x0c, 0x04, 0x00, 0x16, 0x00),
+		raw_pdu(0x0c, 0x04, 0x00, 0x2c, 0x00),
 		raw_pdu(0x0d, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06,
+			0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d,
+			0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13),
+		raw_pdu(0x0a, 0x08, 0x00),
+		raw_pdu(0x0b, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06,
 			0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d,
 			0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14,
 			0x15, 0x16),
@@ -258,10 +262,6 @@  int main(int argc, char *argv[])
 			0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d,
 			0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14,
 			0x15, 0x16),
-		raw_pdu(0x0c, 0x04, 0x00, 0x2c, 0x00),
-		raw_pdu(0x0d, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06,
-			0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d,
-			0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13),
 		raw_pdu(0x0c, 0x08, 0x00, 0x2c, 0x00),
 		raw_pdu(0x0d, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06,
 			0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d,