Bluetooth: Fix sending a HCI Authorization Request over LE links
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>
Fri, 24 Aug 2012 00:32:44 +0000 (21:32 -0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Mon, 27 Aug 2012 15:11:51 +0000 (08:11 -0700)
commitd8343f125710fb596f7a88cd756679f14f4e77b9
tree41406f5f0143787d6436c631151f4471aa57c5a5
parentcc110922da7e902b62d18641a370fec01a9fa794
Bluetooth: Fix sending a HCI Authorization Request over LE links

In the case that the link is already in the connected state and a
Pairing request arrives from the mgmt interface, hci_conn_security()
would be called but it was not considering LE links.

Reported-by: João Paulo Rechi Vita <jprvita@openbossa.org>
Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
net/bluetooth/hci_conn.c