From: Johan Hedberg Date: Fri, 11 Apr 2014 19:02:31 +0000 (-0700) Subject: Bluetooth: Fix triggering BR/EDR L2CAP Connect too early X-Git-Tag: omap-for-v3.16/fixes-against-rc1~214^2~11^2^2~4^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9eb1fbfa0a737fd4d3a6d12d71c5ea9af622b887;p=pandora-kernel.git Bluetooth: Fix triggering BR/EDR L2CAP Connect too early Commit 1c2e004183178 introduced an event handler for the encryption key refresh complete event with the intent of fixing some LE/SMP cases. However, this event is shared with BR/EDR and there we actually want to act only on the auth_complete event (which comes after the key refresh). If we do not do this we may trigger an L2CAP Connect Request too early and cause the remote side to return a security block error. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann Cc: stable@vger.kernel.org --- Reading git-diff-tree failed