summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/hci_core.h
diff options
context:
space:
mode:
authorJohan Hedberg2014-02-24 19:35:07 +0100
committerMarcel Holtmann2014-02-24 20:05:26 +0100
commit4518bb0fb5eda46a9b118a6fbd9661e62a34a5b6 (patch)
tree0056adc1bc2f147c36aee21a098ec2980585e388 /include/net/bluetooth/hci_core.h
parentBluetooth: Enable RPA resolving if mgmt_set_privacy is called (diff)
downloadkernel-qcow2-linux-4518bb0fb5eda46a9b118a6fbd9661e62a34a5b6.tar.gz
kernel-qcow2-linux-4518bb0fb5eda46a9b118a6fbd9661e62a34a5b6.tar.xz
kernel-qcow2-linux-4518bb0fb5eda46a9b118a6fbd9661e62a34a5b6.zip
Bluetooth: Fix canceling RPA expiry timer
The RPA expiry timer is only initialized inside mgmt.c when we receive the first command from user space. This action also involves setting the HCI_MGMT flag for the first time so that flag acts as a good indicator of whether the delayed work variable can be touched or not. This patch fixes hci_dev_do_close to first check the 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')
0 files changed, 0 insertions, 0 deletions