From: Marcel Holtmann Date: Fri, 16 Jan 2009 09:06:13 +0000 (+0100) Subject: Bluetooth: Restrict application of socket options X-Git-Tag: v2.6.30-rc1~662^2~538^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0588d94fd7e414367a7ae517569d2222441c255f;p=pandora-kernel.git Bluetooth: Restrict application of socket options The new socket options should only be evaluated for SOL_BLUETOOTH level and not for every other level. Previously this causes some minor issues when detecting if a kernel with certain features is available. Also restrict BT_SECURITY to SOCK_SEQPACKET for L2CAP and SOCK_STREAM for the RFCOMM protocol. Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed