All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michael Kong" <kx960506@163.com>
To: linux-bluetooth@vger.kernel.org
Subject: [PATCH BlueZ] share/hci: Fix data type in bt_hci_send_data
Date: Tue, 11 Mar 2025 15:56:23 +0800 (CST)	[thread overview]
Message-ID: <251a4eaf.77e9.19584346ee6.Coremail.kx960506@163.com> (raw)

From 44412287c2a00792d4c0fc2c36ee2514d7a3a71f Mon Sep 17 00:00:00 2001
From: michael_kong <michael_kong@realsil.com.cn>
Date: Tue, 11 Mar 2025 11:05:13 +0800
Subject: [PATCH] share/hci: Fix data type in bt_hci_send_data

The data type in bt_hci_send_data shall be ACL, SCO or ISO.
---
 src/shared/hci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/shared/hci.c b/src/shared/hci.c
index 07fdffc82..575254c09 100644
--- a/src/shared/hci.c
+++ b/src/shared/hci.c
@@ -620,7 +620,7 @@ bool bt_hci_send_data(struct bt_hci *hci, uint8_t type, uint16_t handle,
 	switch (type) {
 	case BT_H4_ACL_PKT:
 	case BT_H4_SCO_PKT:
-	case BT_H4_EVT_PKT:
+	case BT_H4_ISO_PKT:
 		break;
 	default:
 		return false;
-- 
2.25.1

             reply	other threads:[~2025-03-11  8:11 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-11  7:56 Michael Kong [this message]
2025-03-11  8:21 ` [BlueZ] share/hci: Fix data type in bt_hci_send_data bluez.test.bot
  -- strict thread matches above, loose matches on Subject: below --
2025-03-12  6:11 [PATCH BlueZ] " michael_kong
2025-03-12 16:30 ` 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=251a4eaf.77e9.19584346ee6.Coremail.kx960506@163.com \
    --to=kx960506@163.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.