Skip to contentSkip to conversation

Add missing string to list of commands in mgmt

PATCH Applied Gabriel Woloz 3 participants 5 messages Mar 9 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

cover Add missing string to list of commands in mgmt

The MGMT_OP_HCI_CMD_SYNC (0x005B) command was not included in mgmt_op[] in mgmt.h - it prematurely stops at command number 0x005A. I added the command to the list under the name "HCI Cmd Sync".

Gabriel Woloz (2):
Added missing command "HCI Cmd Sync" to mgmt_op lib/bluetooth/mgmt: Added missing command "HCI Cmd Sync" to mgmt_op

 lib/bluetooth/mgmt.h | 1 +
 1 file changed, 1 insertion(+)
Signature · 1 line
2.53.0.windows.1
#1 lore raw

PATCH 1/2 Added missing command "HCI Cmd Sync" to mgmt_op

---
 lib/bluetooth/mgmt.h | 1 +
 1 file changed, 1 insertion(+)
lib/bluetooth/mgmt.h +1 -0
index 1ad52529f..1c741ed55 100644
@@ -1199,6 +1199,7 @@ static const char *mgmt_op[] = {
 	"Read Mesh Features",
 	"Mesh Send",
 	"Mesh Send Cancel",
+	"HCI Cmd Sync",
 };
 
 static const char *mgmt_ev[] = {
Signature · 1 line
2.53.0.windows.1
#2 lore raw

This is an automated email and please do not reply to this email.

Dear Submitter,

Thank you for submitting the patches to the linux bluetooth mailing list.
While preparing the CI tests, the patches you submitted couldn't be applied to the current HEAD of the repository.

----- Output -----

error: patch failed: lib/bluetooth/mgmt.h:1199
error: lib/bluetooth/mgmt.h: patch does not apply
hint: Use 'git am --show-current-patch' to see the failed patch

Please resolve the issue and submit the patches again.

---
Regards,
Linux Bluetooth

#3 lore raw

PATCH 2/2 lib/bluetooth/mgmt: Added missing command "HCI Cmd Sync" to mgmt_op

In reply to Gabriel Woloz
---
 lib/bluetooth/mgmt.h | 1 +
 1 file changed, 1 insertion(+)
lib/bluetooth/mgmt.h +1 -0
index 1ad52529f..1c741ed55 100644
@@ -1199,6 +1199,7 @@ static const char *mgmt_op[] = {
 	"Read Mesh Features",
 	"Mesh Send",
 	"Mesh Send Cancel",
+	"HCI Cmd Sync",
 };
 
 static const char *mgmt_ev[] = {
Signature · 1 line
2.53.0.windows.1
#4 lore raw
In reply to Gabriel Woloz
This series was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:

Hello:

This series was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:

Quoted 8 lines · On Sun, 8 Mar 2026 21:57:43 -0400 you wrote:

The MGMT_OP_HCI_CMD_SYNC (0x005B) command was not included in mgmt_op[] in mgmt.h - it prematurely stops at command number 0x005A. I added the command to the list under the name "HCI Cmd Sync".

Gabriel Woloz (2):
Added missing command "HCI Cmd Sync" to mgmt_op lib/bluetooth/mgmt: Added missing command "HCI Cmd Sync" to mgmt_op

 lib/bluetooth/mgmt.h | 1 +
 1 file changed, 1 insertion(+)

Here is the summary with links:
- [BlueZ,1/2] Added missing command "HCI Cmd Sync" to mgmt_op

    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=9c6e97516cb1
  - [BlueZ,2/2] lib/bluetooth/mgmt: Added missing command "HCI Cmd Sync" to mgmt_op
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=9c6e97516cb1

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html