diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2014-07-01 14:11:20 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2014-07-03 17:42:53 +0200 |
commit | af58925ca6175695e502fa792f43a946f7474765 (patch) | |
tree | f0e50a2398cbf7a2f04ccb4d2be9115d1ed310fa /include/net/bluetooth/mgmt.h | |
parent | 42bd6a56ed1ab4b2cb50f4d4e674874da9b47f46 (diff) | |
download | op-kernel-dev-af58925ca6175695e502fa792f43a946f7474765.zip op-kernel-dev-af58925ca6175695e502fa792f43a946f7474765.tar.gz |
Bluetooth: Provide flags parameter direct to mgmt_device_found
Providing the flags parameter directly to mgmt_device_found function
makes the core simpler and more readable. With this it becomes a lot
easier to add new flags in the future.
This also changes hci_inquiry_cache_update to just return that flags
needed for mgmt_device_found since that is its only use for the two
return parameters anyway.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth/mgmt.h')
-rw-r--r-- | include/net/bluetooth/mgmt.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h index 1f95ad4..2d88f36 100644 --- a/include/net/bluetooth/mgmt.h +++ b/include/net/bluetooth/mgmt.h @@ -547,6 +547,7 @@ struct mgmt_ev_auth_failed { #define MGMT_DEV_FOUND_CONFIRM_NAME 0x01 #define MGMT_DEV_FOUND_LEGACY_PAIRING 0x02 +#define MGMT_DEV_FOUND_NOT_CONNECTABLE 0x04 #define MGMT_EV_DEVICE_FOUND 0x0012 struct mgmt_ev_device_found { |