diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2014-07-01 19:14:12 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-07-03 17:42:54 +0200 |
commit | fe59a05f941dbeb14316449be42d059761bed62c (patch) | |
tree | a89a79a5c2e2fe8ef0f2aad0cb84d38baa0b9c87 /include/net/bluetooth | |
parent | 854f47278fb36f4904649b994acf559e13920232 (diff) | |
download | linux-fe59a05f941dbeb14316449be42d059761bed62c.tar.gz linux-fe59a05f941dbeb14316449be42d059761bed62c.tar.bz2 linux-fe59a05f941dbeb14316449be42d059761bed62c.zip |
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>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r-- | include/net/bluetooth/hci_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h index eb0add396595..9078da681f16 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h @@ -536,6 +536,7 @@ enum { HCI_CONN_AUTH, HCI_CONN_SECURE, HCI_CONN_FIPS, + HCI_CONN_STK_ENCRYPT, }; static inline bool hci_conn_ssp_enabled(struct hci_conn *conn) |