Bluetooth: Track the AES-CCM encryption status of LE and BR/EDR links
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 1 Feb 2014 00:24:28 +0000 (16:24 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 13 Feb 2014 07:51:42 +0000 (09:51 +0200)
commitabf76bad8fb503fb21fb0eba854fa048c75ff123
tree24988d3bc5021d20380c16e09e104e04f62a7961
parentdc8357cc72976f2fbe955e2ad4bba9e0e8ba5022
Bluetooth: Track the AES-CCM encryption status of LE and BR/EDR links

When encryption for LE links has been enabled, it will always be use
AES-CCM encryption. In case of BR/EDR Secure Connections, the link
will also use AES-CCM encryption. In both cases track the AES-CCM
status in the connection flags.

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