aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth/mgmt.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2011-11-12 11:58:22 +0200
committerGustavo F. Padovan <padovan@profusion.mobi>2011-11-16 16:32:00 -0200
commit450dfdafbcfbf19e39481d0e4737a832b991333a (patch)
treef94833b7b2ea9d96620a8320daf41ee07b4b40ff /include/net/bluetooth/mgmt.h
parentBluetooth: Add missing cmd_complete for mgmt_load_link_keys (diff)
downloadlinux-dev-450dfdafbcfbf19e39481d0e4737a832b991333a.tar.xz
linux-dev-450dfdafbcfbf19e39481d0e4737a832b991333a.zip
Bluetooth: Pass all message parameters to mgmt_start_discovery
The mgmt_start_discovery command contains the type of discovery that should be started so this should be passed to the start_discovery function. This patch doesn't yet add any action depending on the type of the requested discovery. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net/bluetooth/mgmt.h')
-rw-r--r--include/net/bluetooth/mgmt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h
index bd6995d69931..2e501820f728 100644
--- a/include/net/bluetooth/mgmt.h
+++ b/include/net/bluetooth/mgmt.h
@@ -232,6 +232,9 @@ struct mgmt_cp_remove_remote_oob_data {
} __packed;
#define MGMT_OP_START_DISCOVERY 0x001B
+struct mgmt_cp_start_discovery {
+ __u8 type;
+} __packed;
#define MGMT_OP_STOP_DISCOVERY 0x001C