]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add flag to track STK encryption
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 1 Jul 2014 16:14:12 +0000 (19:14 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 3 Jul 2014 15:42:54 +0000 (17:42 +0200)
commita70563ed501ae0f566879c7a593b392361976c0c
treea89a79a5c2e2fe8ef0f2aad0cb84d38baa0b9c87
parent6a5f0e55c0d3712a88e9c7e833fb3fd6ce5d70ef
Bluetooth: Add flag to track STK encryption

There are certain subtle differences in behavior when we're encrypted
with the STK, such as allowing re-encryption even though the security
level stays the same. Because of this, add a flag to track whether we're
encrypted with an STK or not.

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