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)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 10 Oct 2012 02:31:12 +0000 (03:31 +0100)
commitff03261adc8b4bdd8291f1783c079b53a892b429
treeabb91c69a1e8bca60c622209adb6c8f2553e393d
parent6e792a90dee712edbbdf20f102c76bb9b8e36598
Bluetooth: Fix sending a HCI Authorization Request over LE links

commit d8343f125710fb596f7a88cd756679f14f4e77b9 upstream.

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>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
net/bluetooth/hci_conn.c