Skip to content

Commit 5d6d876

Browse files
jhedbergkartben
authored andcommitted
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 <[email protected]>
1 parent bcd15ca commit 5d6d876

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

include/zephyr/bluetooth/hci_raw.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ extern "C" {
2929

3030
/** @brief Send packet to the Bluetooth controller
3131
*
32-
* Send packet to the Bluetooth controller. Caller needs to
33-
* implement netbuf pool.
32+
* Send packet to the Bluetooth controller. The buffers should be allocated using
33+
* bt_buf_get_tx().
3434
*
35-
* @param buf netbuf packet to be send
35+
* @param buf HCI packet to be sent.
3636
*
3737
* @return Zero on success or (negative) error code otherwise.
3838
*/

0 commit comments

Comments
 (0)