From: Johan Hedberg Date: Wed, 19 Jan 2011 06:36:51 +0000 (+0530) Subject: Bluetooth: Fix authentication request for L2CAP raw sockets X-Git-Tag: v2.6.38-rc3~29^2~4^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d00ef24fc2923b65fdd440dc6445903e965841ac;p=pandora-kernel.git Bluetooth: Fix authentication request for L2CAP raw sockets When there is an existing connection l2cap_check_security needs to be called to ensure that the security level of the new socket is fulfilled. Normally l2cap_do_start takes care of this, but that function doesn't get called for SOCK_RAW type sockets. This patch adds the necessary l2cap_check_security call to the appropriate branch in l2cap_do_connect. Signed-off-by: Johan Hedberg Acked-by: Marcel Holtmann Signed-off-by: Gustavo F. Padovan --- Reading git-diff-tree failed