Bluetooth: Add MGMT_OP_SET_SCAN_PARAMS to supported commands list
authorMarcel Holtmann <marcel@holtmann.org>
Fri, 11 Oct 2013 21:44:58 +0000 (14:44 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Sat, 12 Oct 2013 06:46:09 +0000 (09:46 +0300)
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>
net/bluetooth/mgmt.c

index aa59490..338878c 100644 (file)
@@ -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[] = {