]> git.karo-electronics.de Git - linux-beck.git/commit
Bluetooth: Fix L2CAP connection establishment
authorIlia Kolomisnky <ilia.kolominsky@gmail.com>
Wed, 15 Jun 2011 03:52:26 +0000 (06:52 +0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 15 Jun 2011 18:03:37 +0000 (15:03 -0300)
commit330605423ca6eafafb8dcc27502bce1c585d1b06
tree86f7e31cddff8a1553b95d42998848039af6a379
parentdf3c3931ec58cca3409c71b18ad6da0cd71fe163
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 <iliak@ti.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/hci_conn.c