Skip to content
Commit 37e62f55 authored by Marcel Holtmann's avatar Marcel Holtmann
Browse files

Bluetooth: Fix RFCOMM usage of in-kernel L2CAP sockets



The CID value of L2CAP sockets need to be set to zero. All userspace
applications do this via memset() on the sockaddr_l2 structure. The
RFCOMM implementation uses in-kernel L2CAP sockets and so it has to
make sure that l2_cid is set to zero.

Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 2a517ca6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment