Skip to content
Commit 7f71ad38 authored by Lyle Zhu's avatar Lyle Zhu Committed by Anas Nashif
Browse files

bluetooth: rfcomm: fix issue of sending buf invalid



There is a change (commit no.: 93d0eac8) that if
the `ref` of sending buf is not 1, the error code
`-EINVAL` will be returned from bt_conn_send_cb.

It causes the RFCOMM functionality cannot work
properly.

Remove the ref operation from the buf to be sent
to fix the issue.

Signed-off-by: default avatarLyle Zhu <lyle.zhu@nxp.com>
parent 7f6d600d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment