]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Restrict loading of link keys to BR/EDR capable controllers
authorMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Oct 2013 04:16:07 +0000 (21:16 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 3 Oct 2013 06:32:57 +0000 (09:32 +0300)
commit31b17e5fa30b571555e050dc431bfbc8c388aa9f
tree7029787be63ed935018efd95eb8cc81830a8f250
parent96c0c3a9eaef5b6dd11a7a9009e672ae574ab350
Bluetooth: Restrict loading of link keys to BR/EDR capable controllers

Loading link keys into a LE only controller make no sense. The kernel
would never use any of these keys. So instead of allowing userspace
to waste memory, reject such operation with a not supported error
message.

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