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)
commit9060d5cf5200c37dd23f5502bd7c3ccadce04a5f
tree7029787be63ed935018efd95eb8cc81830a8f250
parent62af444319120347371ae24043da28db75b729db
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