All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ] share/hci: Fix data type in bt_hci_send_data
@ 2025-03-11  7:56 Michael Kong
  2025-03-11  8:21 ` [BlueZ] " bluez.test.bot
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Kong @ 2025-03-11  7:56 UTC (permalink / raw)
  To: linux-bluetooth

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

^ permalink raw reply related	[flat|nested] 3+ messages in thread
* [PATCH BlueZ] share/hci: Fix data type in bt_hci_send_data
@ 2025-03-12  6:11 michael_kong
  2025-03-12  7:18 ` [BlueZ] " bluez.test.bot
  0 siblings, 1 reply; 3+ messages in thread
From: michael_kong @ 2025-03-12  6:11 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: michael_kong

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.29.1.windows.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-03-12  7:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-11  7:56 [PATCH BlueZ] share/hci: Fix data type in bt_hci_send_data Michael Kong
2025-03-11  8:21 ` [BlueZ] " bluez.test.bot
  -- strict thread matches above, loose matches on Subject: below --
2025-03-12  6:11 [PATCH BlueZ] " michael_kong
2025-03-12  7:18 ` [BlueZ] " bluez.test.bot

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.