From: Marcel Holtmann Date: Tue, 17 Feb 2009 20:49:33 +0000 (+0100) Subject: Bluetooth: Fix RFCOMM usage of in-kernel L2CAP sockets X-Git-Tag: v2.6.30-rc1~662^2~538^2~4 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37e62f5516cfb210e64fe53457932df4341b0ad1;p=pandora-kernel.git 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: Marcel Holtmann --- Reading git-diff-tree failed