From: Ilia Kolomisnky Date: Wed, 15 Jun 2011 03:52:26 +0000 (+0300) Subject: Bluetooth: Fix L2CAP connection establishment X-Git-Tag: v3.0-rc6~16^2~14^2~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=330605423ca6eafafb8dcc27502bce1c585d1b06;p=pandora-kernel.git Bluetooth: Fix L2CAP connection establishment In hci_conn_security ( which is used during L2CAP connection establishment ) test for HCI_CONN_ENCRYPT_PEND state also sets this state, which is bogus and leads to connection time-out on L2CAP sockets in certain situations (especially when using non-ssp devices ) Signed-off-by: Ilia Kolomisnky Signed-off-by: Gustavo F. Padovan --- Reading git-diff-tree failed