From: Marcel Holtmann Date: Wed, 4 Feb 2009 20:07:19 +0000 (+0100) Subject: Bluetooth: Don't check encryption for L2CAP raw sockets X-Git-Tag: v2.6.30-rc1~662^2~538^2~19 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=255c76014af74165428e7aa16414b857e2bdccf2;p=pandora-kernel.git Bluetooth: Don't check encryption for L2CAP raw sockets For L2CAP sockets with medium and high security requirement a missing encryption will enforce the closing of the link. For the L2CAP raw sockets this is not needed, so skip that check. This fixes a crash when pairing Bluetooth 2.0 (and earlier) devices since the L2CAP state machine got confused and then locked up the whole system. Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed