Skip to content
Commit 623479cc authored by Jiawei Yang's avatar Jiawei Yang Committed by Benjamin Cabé
Browse files

Bluetooth: RFCOMM: Fix CR bit in DISC frame



The CR bit in DISC frames should be set as a command rather than a
response.
This patch fixes the rfcomm_send_disc function to correctly use
BT_RFCOMM_CMD_CR instead of BT_RFCOMM_RESP_CR when setting the CR bit in
the address field of DISC frames.

Signed-off-by: default avatarJiawei Yang <jiawei.yang_1@nxp.com>
parent f06f6bee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment