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)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:18:53 +0000 (12:18 -0800)
commit3e40e397b07fa150b75c8ed6fb4959111ed17e8c
tree09798ae1890fc5fa79f5c1762331f52f039e3806
parent4e3914a2151755d2fb8446fa11cdccda99711a99
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