Bluetooth: Add MGMT_OP_SET_SCAN_PARAMS to supported commands list
Subsystems (2)
Marcel Holtmann
maintainerPATCH 1/1 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 <[email protected]>
--- net/bluetooth/mgmt.c | 1 + 1 file changed, 1 insertion(+)
net/bluetooth/mgmt.c +1 -0
@@ -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[] = {
Signature · 1 line
1.8.3.1
Johan Hedberg
AppliedHi Marcel,
Quoted 8 lines · Marcel Holtmann
When adding support for
MGMT_OP_SET_SCAN_PARAMScommand 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 <[email protected]>--- net/bluetooth/mgmt.c | 1 + 1 file changed, 1 insertion(+)
Applied to bluetooth-next. Thanke.
Johan