From 5d6d876567efed675d8fb999655534a5bbca57ef Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Fri, 25 Apr 2025 13:22:53 +0300 Subject: [PATCH] Bluetooth: hci_raw: Fix misleading documentation for bt_send() The documentation for the HCI raw interface was incorrectly talking about the need to define buffer pools, when in fact the hci_raw module provides the necessary API to perform buffer allocation. Signed-off-by: Johan Hedberg --- include/zephyr/bluetooth/hci_raw.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/zephyr/bluetooth/hci_raw.h b/include/zephyr/bluetooth/hci_raw.h index e1ad077d6b2..a844b3d7543 100644 --- a/include/zephyr/bluetooth/hci_raw.h +++ b/include/zephyr/bluetooth/hci_raw.h @@ -29,10 +29,10 @@ extern "C" { /** @brief Send packet to the Bluetooth controller * - * Send packet to the Bluetooth controller. Caller needs to - * implement netbuf pool. + * Send packet to the Bluetooth controller. The buffers should be allocated using + * bt_buf_get_tx(). * - * @param buf netbuf packet to be send + * @param buf HCI packet to be sent. * * @return Zero on success or (negative) error code otherwise. */