Bluetooth: Add support for encryption key refresh
authorJohan Hedberg <johan.hedberg@intel.com>
Fri, 8 Jun 2012 15:31:13 +0000 (23:31 +0800)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Sat, 9 Jun 2012 00:00:40 +0000 (21:00 -0300)
commit1c2e004183178e1947882cd2e74f37826f45230e
treea0a5e7ed54d89392bb77ae7175a9c63bbfc7b9f1
parent4dab786482d706a2a41cd16cf174671d640a9870
Bluetooth: Add support for encryption key refresh

With LE/SMP the completion of a security level elavation from medium to
high is indicated by a HCI Encryption Key Refresh Complete event. The
necessary behavior upon receiving this event is a mix of what's done for
auth_complete and encryption_change, which is also where most of the
event handling code has been copied from.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
include/net/bluetooth/hci.h
net/bluetooth/hci_event.c