]> 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)
commit8063edb0a896d4bd473480790521a789f98c09f4
treea89a79a5c2e2fe8ef0f2aad0cb84d38baa0b9c87
parent7bccfcd5da21a663f59a0053928348b9eff0138a
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