Skip to contentSkip to conversation

Bluetooth: Add MGMT_OP_SET_SCAN_PARAMS to supported commands list

PATCH Applied Marcel Holtmann 2 participants 2 messages Oct 11, 2013 – Oct 12, 2013

Subsystems (2)
lore
Share & tools
lore

Marcel Holtmann

author maintainer
#0 lore raw

PATCH 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.

---
 net/bluetooth/mgmt.c | 1 +
 1 file changed, 1 insertion(+)
net/bluetooth/mgmt.c +1 -0
index aa59490..338878c 100644
@@ -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
#1 lore raw

Hi Marcel,

Quoted 8 lines · Marcel Holtmann

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.

---
 net/bluetooth/mgmt.c | 1 +
 1 file changed, 1 insertion(+)

Applied to bluetooth-next. Thanke.

Johan