diff mbox series

[BlueZ] Fix data type in bt_hci_send_data

Message ID 7dcaf905169d4c399d89eefbbdf0d3c3@realsil.com.cn (mailing list archive)
State Accepted
Commit e3b2759634d4bd244c2090a96c76aef5a118c93d
Headers show
Series [BlueZ] Fix data type in bt_hci_send_data | expand

Checks

Context Check Description
tedd_an/pre-ci_am fail error: cannot convert from eucgb2312_cn to UTF-8 fatal: could not parse patch

Commit Message

Michael Kong(孔鑫) March 11, 2025, 1:54 a.m. UTC
The data type in bt_hci_send_data shall be ACL, SCO or ISO. This fix cannot send ISO data in client/hci menu.

---
 src/shared/hci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

bluez.test.bot@gmail.com March 11, 2025, 2:42 a.m. UTC | #1
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
patchwork-bot+bluetooth@kernel.org March 12, 2025, 4:30 p.m. UTC | #2
Hello:

This patch was applied to bluetooth/bluez.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@intel.com>:

On Tue, 11 Mar 2025 01:54:49 +0000 you wrote:
> The data type in bt_hci_send_data shall be ACL, SCO or ISO. This fix cannot send ISO data in client/hci menu.
> 
> ---
>  src/shared/hci.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Here is the summary with links:
  - [BlueZ] Fix data type in bt_hci_send_data
    https://git.kernel.org/pub/scm/bluetooth/bluez.git/?id=e3b2759634d4

You are awesome, thank you!
diff mbox series

Patch

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;