Bluetooth: Fix ignoring debug keys in mgmt_load_link_keys
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 24 Jun 2014 11:00:26 +0000 (14:00 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Jul 2014 15:42:46 +0000 (17:42 +0200)
commit58e9293c4e18b9b5f52822e7cbce589c70920721
tree5b0c09311980950e659e957e41e8f6028d2c8a21
parentaf6a9c321384400efab1726636e8189737bbbd09
Bluetooth: Fix ignoring debug keys in mgmt_load_link_keys

We should never allow user space to feed back debug keys to the kernel.
If the user desires to use debug keys require setting the appropriate
debug keys mode and performing a new pairing.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/mgmt.c