Bluetooth: Add controller side link key clearing to hci_init_req
authorJohan Hedberg <johan.hedberg@nokia.com>
Mon, 10 Jan 2011 11:44:55 +0000 (13:44 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Tue, 8 Feb 2011 03:40:06 +0000 (01:40 -0200)
commitb0916ea0d9e6ea3ed46bb7a61c13a2b357b0248b
tree69f7d2ef2a09a9004de49e2203ea82bf644d3fd0
parenta5040efa2017f3e4f1b4d5f40fd989567f3994c1
Bluetooth: Add controller side link key clearing to hci_init_req

The controller may have link keys in its own memory and these keys could
be used for secure connections. However, since the interface to access
these keys doesn't provide information about the key types (which would
be needed to infer the level of security each key provides) using these
keys is rather useless. Therefore, simply clear the controller side list
in the initialization procedure.

Signed-off-by: Johan Hedberg <johan.hedberg@nokia.com>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/hci.h
net/bluetooth/hci_core.c
net/bluetooth/hci_event.c