From: Peter Hurley Date: Tue, 30 Aug 2011 15:53:35 +0000 (-0400) Subject: Bluetooth: hidp: safely acquire hci connection X-Git-Tag: v3.3-rc1~182^2~545^2~134^2~95 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1785dbf9e30be62ab45e34900e574b8307bc98b5;p=pandora-kernel.git Bluetooth: hidp: safely acquire hci connection Claim device lock to safely enumerate hci connection list and bump hci connection proxy device ref count simultaneously. This patch incorporates David Herrmann's fix to prevent adding an HID device when the hci connection no longer exists. Signed-off-by: David Herrmann Signed-off-by: Peter Hurley Signed-off-by: Gustavo F. Padovan --- Reading git-diff-tree failed