Skip to contentSkip to conversation

shared/btp: Fix typo

PATCH Applied Frédéric Danis 3 participants 3 messages Jan 15 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 shared/btp: Fix typo

---
 src/shared/btp.h     | 2 +-
 tools/btpclient.c    | 6 +++---
 tools/btpclientctl.c | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)
src/shared/btp.h +1 -1
index a99fdf075..ad18cfb3a 100644
@@ -82,7 +82,7 @@ struct btp_gap_read_index_rp {
 #define BTP_GAP_SETTING_CONTROLLER_CONF		0x00004000
 #define BTP_GAP_SETTING_STATIC_ADDRESS		0x00008000
 
-#define BTP_OP_GAP_READ_COTROLLER_INFO		0x03
+#define BTP_OP_GAP_READ_CONTROLLER_INFO		0x03
 struct btp_gap_read_info_rp {
 	bdaddr_t address;
 	uint32_t supported_settings;
tools/btpclient.c +3 -3
index 3f060ebc0..e722b2242 100644
@@ -287,7 +287,7 @@ static void btp_gap_read_commands(uint8_t index, const void *param,
 
 	commands |= (1 << BTP_OP_GAP_READ_SUPPORTED_COMMANDS);
 	commands |= (1 << BTP_OP_GAP_READ_CONTROLLER_INDEX_LIST);
-	commands |= (1 << BTP_OP_GAP_READ_COTROLLER_INFO);
+	commands |= (1 << BTP_OP_GAP_READ_CONTROLLER_INFO);
 	commands |= (1 << BTP_OP_GAP_RESET);
 	commands |= (1 << BTP_OP_GAP_SET_POWERED);
 	commands |= (1 << BTP_OP_GAP_SET_CONNECTABLE);
@@ -370,7 +370,7 @@ static void btp_gap_read_info(uint8_t index, const void *param, uint16_t length,
 	rp.supported_settings = L_CPU_TO_LE32(adapter->supported_settings);
 	rp.current_settings = L_CPU_TO_LE32(adapter->current_settings);
 
-	btp_send(btp, BTP_GAP_SERVICE, BTP_OP_GAP_READ_COTROLLER_INFO, index,
+	btp_send(btp, BTP_GAP_SERVICE, BTP_OP_GAP_READ_CONTROLLER_INFO, index,
 							sizeof(rp), &rp);
 
 	return;
@@ -2715,7 +2715,7 @@ static void register_gap_service(void)
 				BTP_OP_GAP_READ_CONTROLLER_INDEX_LIST,
 				btp_gap_read_controller_index, NULL, NULL);
 
-	btp_register(btp, BTP_GAP_SERVICE, BTP_OP_GAP_READ_COTROLLER_INFO,
+	btp_register(btp, BTP_GAP_SERVICE, BTP_OP_GAP_READ_CONTROLLER_INFO,
 						btp_gap_read_info, NULL, NULL);
 
 	btp_register(btp, BTP_GAP_SERVICE, BTP_OP_GAP_RESET,
tools/btpclientctl.c +1 -1
index 72c54086d..df8d12e94 100644
@@ -1488,7 +1488,7 @@ static void cmd_gap_read_info(int argc, char **argv)
 
 	index = atoi(argv[1]);
 
-	if (!send_cmd(BTP_GAP_SERVICE, BTP_OP_GAP_READ_COTROLLER_INFO,
+	if (!send_cmd(BTP_GAP_SERVICE, BTP_OP_GAP_READ_CONTROLLER_INFO,
 						index, 0, NULL))
 		return bt_shell_noninteractive_quit(EXIT_FAILURE);
 
Signature · 1 line
2.43.0
#1 lore raw

This is automated email and please do not reply to this email!

Dear submitter,

Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series:
PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=1042857

---Test result---

Test Summary:

CheckPatch                    PENDING   0.42 seconds
GitLint                       PENDING   0.37 seconds
BuildEll                      PASS      19.98 seconds
BluezMake                     PASS      626.82 seconds
MakeCheck                     PASS      18.40 seconds
MakeDistcheck                 PASS      239.82 seconds
CheckValgrind                 PASS      292.39 seconds
CheckSmatch                   PASS      347.35 seconds
bluezmakeextell               PASS      179.84 seconds
IncrementalBuild              PENDING   0.43 seconds
ScanBuild                     PASS      1017.37 seconds

Details
##############################
Test: CheckPatch - PENDING
Desc: Run checkpatch.pl script
Output:

##############################
Test: GitLint - PENDING
Desc: Run gitlint
Output:

##############################
Test: IncrementalBuild - PENDING
Desc: Incremental build with the patches in the series Output:

---
Regards,
Linux Bluetooth

#2 lore raw
In reply to Frédéric Danis
This patch was applied to bluetooth/bluez.git (master) by Luiz Augusto von Dentz <[email protected]>:

Hello:

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

Quoted 5 lines · On Thu, 15 Jan 2026 15:38:59 +0100 you wrote:
---
 src/shared/btp.h     | 2 +-
 tools/btpclient.c    | 6 +++---
 tools/btpclientctl.c | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

Here is the summary with links:
- [BlueZ] shared/btp: Fix typo

    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=64208980a374

You are awesome, thank you!

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