From: Peter Hurley Date: Fri, 5 Aug 2011 14:52:01 +0000 (-0400) Subject: Bluetooth: hidp: Don't release device ref if never held X-Git-Tag: v3.1-rc5~12^2~6^2~9^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff062ea109217329b88693bc9081da893eb8b71b;p=pandora-kernel.git Bluetooth: hidp: Don't release device ref if never held When an hidp connection is added for a boot protocol input device, don't release a device reference that was never acquired. The device reference is acquired when the session is linked to the session list (which hasn't happened yet when hidp_setup_input is called). Signed-off-by: Peter Hurley Signed-off-by: Gustavo F. Padovan --- Reading git-diff-tree failed