aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/hci_core.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2014-06-24 13:15:53 +0300
committerMarcel Holtmann <marcel@holtmann.org>2014-07-03 17:42:46 +0200
commitaf6a9c321384400efab1726636e8189737bbbd09 (patch)
tree19d78ce4b6c45487461c107d69a01377ce3458d0 /include/net/bluetooth/hci_core.h
parentBluetooth: Don't store debug keys if flag for them is not set (diff)
downloadlinux-dev-af6a9c321384400efab1726636e8189737bbbd09.tar.xz
linux-dev-af6a9c321384400efab1726636e8189737bbbd09.zip
Bluetooth: Convert hcon->flush_key to a proper flag
There's no point in having boolean variables in the hci_conn struct since it already has a flags member. This patch converts the flush_key member into a proper flag. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include/net/bluetooth/hci_core.h')
-rw-r--r--include/net/bluetooth/hci_core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/bluetooth/hci_core.h b/include/net/bluetooth/hci_core.h
index 888911d205dc..4f70605e0399 100644
--- a/include/net/bluetooth/hci_core.h
+++ b/include/net/bluetooth/hci_core.h
@@ -394,7 +394,6 @@ struct hci_conn {
__u8 remote_cap;
__u8 remote_auth;
__u8 remote_id;
- bool flush_key;
unsigned int sent;
@@ -524,6 +523,7 @@ enum {
HCI_CONN_AES_CCM,
HCI_CONN_POWER_SAVE,
HCI_CONN_REMOTE_OOB,
+ HCI_CONN_FLUSH_KEY,
};
static inline bool hci_conn_ssp_enabled(struct hci_conn *conn)