Bluetooth: Track current configured LE scan type parameter
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 21 Mar 2014 19:18:10 +0000 (12:18 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 21 Mar 2014 20:02:12 +0000 (22:02 +0200)
commit533553f8738184bcf957d97fed9eb4d5f023e4a7
treec1da118314500d76145b46113c8076fa0298a82e
parentd986b4a6480bdd55c073635ef883c754e46ac0eb
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>
include/net/bluetooth/hci_core.h
net/bluetooth/hci_event.c