Bluetooth: Reject an encryption request when the key isn't found
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>
Thu, 7 Jul 2011 21:59:37 +0000 (18:59 -0300)
committerJaikumar Ganesh <jaikumar@google.com>
Mon, 11 Jul 2011 18:59:34 +0000 (11:59 -0700)
commit60e564763996894c2df25df1ad50367aea46b65f
tree485d7b8506b2432cb14db2716363ddae49b6d199
parent7f9004d183a39af6be9e962babb3b9582bf8170d
Bluetooth: Reject an encryption request when the key isn't found

Now that we have methods to finding keys by its parameters we can
reject an encryption request if the key isn't found.

Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@openbossa.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/hci_event.c