summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2013-10-11 14:44:58 -0700
committerJohan Hedberg <johan.hedberg@intel.com>2013-10-12 09:46:09 +0300
commit7f72134e08bb15511ffcb880cdd01ca77ea54cb7 (patch)
tree40207a4d5c763b2fb60cb9a50771813ab775b219
parenta82974c9f4ed07b89715d0695ff41379116fd622 (diff)
downloadlinux-stable-7f72134e08bb15511ffcb880cdd01ca77ea54cb7.tar.gz
linux-stable-7f72134e08bb15511ffcb880cdd01ca77ea54cb7.tar.bz2
linux-stable-7f72134e08bb15511ffcb880cdd01ca77ea54cb7.zip
Bluetooth: Add MGMT_OP_SET_SCAN_PARAMS to supported commands list
When adding support for MGMT_OP_SET_SCAN_PARAMS command the addition to the supported commands list has been forgotten. This is needed for userspace to detect if the command is supported or not. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
-rw-r--r--net/bluetooth/mgmt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bluetooth/mgmt.c b/net/bluetooth/mgmt.c
index aa59490044aa..338878c13571 100644
--- a/net/bluetooth/mgmt.c
+++ b/net/bluetooth/mgmt.c
@@ -78,6 +78,7 @@ static const u16 mgmt_commands[] = {
MGMT_OP_SET_ADVERTISING,
MGMT_OP_SET_BREDR,
MGMT_OP_SET_STATIC_ADDRESS,
+ MGMT_OP_SET_SCAN_PARAMS,
};
static const u16 mgmt_events[] = {