From: Johan Hedberg Date: Tue, 14 Jun 2011 09:48:19 +0000 (+0300) Subject: Bluetooth: Fix accepting connect requests for defer_setup X-Git-Tag: v3.0-rc6~16^2~14^2~2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df3c3931ec58cca3409c71b18ad6da0cd71fe163;p=pandora-kernel.git Bluetooth: Fix accepting connect requests for defer_setup When authentication completes we shouldn't blindly accept any pending L2CAP connect requests. If the socket has the defer_setup feature enabled it should still wait for user space acceptance of the connect request. The issue only happens for non-SSP connections since with SSP the L2CAP Connect request may not be sent for non-SDP PSMs before authentication has completed successfully. Signed-off-by: Johan Hedberg Signed-off-by: Gustavo F. Padovan --- Reading git-diff-tree failed