From: Johan Hedberg Date: Fri, 13 Jun 2014 07:22:28 +0000 (+0300) Subject: Bluetooth: Fix locking of hdev when calling into SMP code X-Git-Tag: omap-for-v3.16/fixes-rc4~53^2~21^2^2~4^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c73f94b8c093a615ce80eabbde0ac6eb9abfe31a;p=pandora-kernel.git Bluetooth: Fix locking of hdev when calling into SMP code The SMP code expects hdev to be unlocked since e.g. crypto functions will try to (re)lock it. Therefore, we need to release the lock before calling into smp.c from mgmt.c. Without this we risk a deadlock whenever the smp_user_confirm_reply() function is called. Signed-off-by: Johan Hedberg Tested-by: Lukasz Rymanowski Signed-off-by: Marcel Holtmann Cc: stable@vger.kernel.org --- Reading git-diff-tree failed