From: Marcel Holtmann Date: Mon, 20 Feb 2012 13:50:33 +0000 (+0100) Subject: Bluetooth: Lock socket when reading HCI socket options X-Git-Tag: v3.4-rc1~177^2~112^2~119 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cedc5469778846ee18c653aaa6d70681961eed93;p=pandora-kernel.git Bluetooth: Lock socket when reading HCI socket options When reading the HCI raw socket option, the socket was never locked. So lock the socket and in addition return EINVAL on non raw sockets. Signed-off-by: Marcel Holtmann Signed-off-by: Johan Hedberg --- Reading git-diff-tree failed