diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2014-03-21 12:18:10 -0700 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-03-21 22:02:12 +0200 |
commit | 533553f8738184bcf957d97fed9eb4d5f023e4a7 (patch) | |
tree | c1da118314500d76145b46113c8076fa0298a82e /include/net | |
parent | d986b4a6480bdd55c073635ef883c754e46ac0eb (diff) | |
download | op-kernel-dev-533553f8738184bcf957d97fed9eb4d5f023e4a7.zip op-kernel-dev-533553f8738184bcf957d97fed9eb4d5f023e4a7.tar.gz |
Bluetooth: Track current configured LE scan type parameter
The LE scan type paramter defines if active scanning or passive scanning
is in use. Track the currently set value so it can be used for decision
making from other pieces in the core.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net')
-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 afbea38..5f8bc05 100644 --- a/include/net/bluetooth/hci_core.h +++ b/include/net/bluetooth/hci_core.h @@ -189,6 +189,7 @@ struct hci_dev { __u16 page_scan_window; __u8 page_scan_type; __u8 le_adv_channel_map; + __u8 le_scan_type; __u16 le_scan_interval; __u16 le_scan_window; __u16 le_conn_min_interval; |