* RE: [BlueZ] Fix data type in bt_hci_send_data
2025-03-11 1:54 [PATCH BlueZ] " Michael Kong(孔鑫)
@ 2025-03-11 2:42 ` bluez.test.bot
0 siblings, 0 replies; 4+ messages in thread
From: bluez.test.bot @ 2025-03-11 2:42 UTC (permalink / raw)
To: linux-bluetooth, michael_kong
[-- Attachment #1: Type: text/plain, Size: 460 bytes --]
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: cannot convert from eucgb2312_cn to UTF-8
fatal: could not parse patch
Please resolve the issue and submit the patches again.
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH BlueZ] Fix data type in bt_hci_send_data
@ 2025-03-11 5:45 Michael Kong
2025-03-11 6:23 ` [BlueZ] " bluez.test.bot
0 siblings, 1 reply; 4+ messages in thread
From: Michael Kong @ 2025-03-11 5:45 UTC (permalink / raw)
To: linux-bluetooth
The data type in bt_hci_send_data shall be ACL, SCO or ISO. This fixes cannot send ISO data in client/hci menu.
---
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] 4+ messages in thread
* RE: [BlueZ] Fix data type in bt_hci_send_data
2025-03-11 5:45 [PATCH BlueZ] Fix data type in bt_hci_send_data Michael Kong
@ 2025-03-11 6:23 ` bluez.test.bot
2025-03-11 7:15 ` Michael Kong
0 siblings, 1 reply; 4+ messages in thread
From: bluez.test.bot @ 2025-03-11 6:23 UTC (permalink / raw)
To: linux-bluetooth, kx960506
[-- Attachment #1: Type: text/plain, Size: 478 bytes --]
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: corrupt patch at line 14
hint: Use 'git am --show-current-patch' to see the failed patch
Please resolve the issue and submit the patches again.
---
Regards,
Linux Bluetooth
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re:RE: [BlueZ] Fix data type in bt_hci_send_data
2025-03-11 6:23 ` [BlueZ] " bluez.test.bot
@ 2025-03-11 7:15 ` Michael Kong
0 siblings, 0 replies; 4+ messages in thread
From: Michael Kong @ 2025-03-11 7:15 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] 4+ messages in thread
end of thread, other threads:[~2025-03-11 7:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-11 5:45 [PATCH BlueZ] Fix data type in bt_hci_send_data Michael Kong
2025-03-11 6:23 ` [BlueZ] " bluez.test.bot
2025-03-11 7:15 ` Michael Kong
-- strict thread matches above, loose matches on Subject: below --
2025-03-11 1:54 [PATCH BlueZ] " Michael Kong(孔鑫)
2025-03-11 2:42 ` [BlueZ] " bluez.test.bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).