“6f9c784b7ec2cc9fc9fd7c5a8634b70aadd76015”上不存在“drivers/gpu/drm/git@gitcode.net:openeuler/kernel.git”

Bluetooth: Fix bacpy in l2cap_core.c

It should be the dst in the copy not src. 03a00194 introduced this bug.
Reported-by: NVinicius Costa Gomes <vinicius.gomes@openbossa.org>
Signed-off-by: NGustavo F. Padovan <padovan@profusion.mobi>
上级 4ae1652e
无相关合并请求
......@@ -1190,7 +1190,7 @@ inline int l2cap_chan_connect(struct l2cap_chan *chan, __le16 psm, u16 cid, bdad
}
/* Set destination address and psm */
bacpy(&bt_sk(sk)->dst, src);
bacpy(&bt_sk(sk)->dst, dst);
chan->psm = psm;
chan->dcid = cid;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部