diff mbox series

[BlueZ,2/4] monitor: Fix invalid Create BIG Test command

Message ID 20230721120320.147496-3-lukasz.rymanowski@codecoup.pl (mailing list archive)
State Accepted
Commit cc9f3a8e510a5ac8c0441a7714256dca969b695b
Headers show
Series Minor monitor changes around Broadcast | expand

Checks

Context Check Description
tedd_an/pre-ci_am success Success
tedd_an/CheckPatch success CheckPatch PASS
tedd_an/GitLint success Gitlint PASS
tedd_an/IncrementalBuild success Incremental Build PASS

Commit Message

Łukasz Rymanowski July 21, 2023, 12:03 p.m. UTC
From: Grzegorz Kolodziejczyk <grzegorz.kolodziejczyk@codecoup.pl>

As per Bluetooth Core 5.4 Vol 4 Part E, 7.8.104,
max pdu is 2 octect long and there is no adv_handle before encyption
flag
---
 monitor/bt.h | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/monitor/bt.h b/monitor/bt.h
index 131024e46..ea24a076e 100644
--- a/monitor/bt.h
+++ b/monitor/bt.h
@@ -2777,14 +2777,13 @@  struct bt_hci_bis_test {
 	uint16_t iso_interval;
 	uint8_t  nse;
 	uint16_t sdu;
-	uint8_t  pdu;
+	uint16_t  pdu;
 	uint8_t  phy;
 	uint8_t  packing;
 	uint8_t  framing;
 	uint8_t  bn;
 	uint8_t  irc;
 	uint8_t  pto;
-	uint8_t  adv_handle;
 	uint8_t  encryption;
 	uint8_t  bcode[16];
 } __attribute__ ((packed));