Bluetooth: Convert LTK list to RCU

This patch set converts the hdev->long_term_keys list to use RCU to
eliminate the need to use hci_dev_lock/unlock.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
Johan Hedberg
2014-11-13 14:37:47 +02:00
committed by Marcel Holtmann
parent 3e64b7bd82
commit 970d0f1b28
4 changed files with 31 additions and 26 deletions

View File

@@ -108,6 +108,7 @@ struct smp_csrk {
struct smp_ltk {
struct list_head list;
struct rcu_head rcu;
bdaddr_t bdaddr;
u8 bdaddr_type;
u8 authenticated;