From: "Frédéric Danis" <frederic.danis@collabora.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH BlueZ] shared/btp: Fix typo
Date: Thu, 15 Jan 2026 15:38:59 +0100 [thread overview]
Message-ID: <20260115143859.12834-1-frederic.danis@collabora.com> (raw)
---
src/shared/btp.h | 2 +-
tools/btpclient.c | 6 +++---
tools/btpclientctl.c | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/shared/btp.h b/src/shared/btp.h
index a99fdf075..ad18cfb3a 100644
--- a/src/shared/btp.h
+++ b/src/shared/btp.h
@@ -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;
diff --git a/tools/btpclient.c b/tools/btpclient.c
index 3f060ebc0..e722b2242 100644
--- a/tools/btpclient.c
+++ b/tools/btpclient.c
@@ -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,
diff --git a/tools/btpclientctl.c b/tools/btpclientctl.c
index 72c54086d..df8d12e94 100644
--- a/tools/btpclientctl.c
+++ b/tools/btpclientctl.c
@@ -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);
--
2.43.0
next reply other threads:[~2026-01-15 14:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-15 14:38 Frédéric Danis [this message]
2026-01-15 15:37 ` [BlueZ] shared/btp: Fix typo bluez.test.bot
2026-01-15 21:40 ` [PATCH BlueZ] " patchwork-bot+bluetooth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260115143859.12834-1-frederic.danis@collabora.com \
--to=frederic.danis@collabora.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox