Skip to contentSkip to conversation

Bluetooth: Fix parameter list for setting local name

PATCH Applied Marcel Holtmann 2 participants 2 messages Feb 21, 2012

Subsystems (2)
lore
Share & tools
lore

Marcel Holtmann

author maintainer
#0 lore raw

PATCH 1/1 Bluetooth: Fix parameter list for setting local name

The parameter list for setting the local name via management interface was missing the short name parameter.

---
 include/net/bluetooth/mgmt.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/net/bluetooth/mgmt.h +1 -0
index 1dbadbe..ac59cdd 100644
@@ -135,6 +135,7 @@ struct mgmt_cp_set_dev_class {
 #define MGMT_OP_SET_LOCAL_NAME		0x000F
 struct mgmt_cp_set_local_name {
 	__u8 name[MGMT_MAX_NAME_LENGTH];
+	__u8 short_name[MGMT_MAX_SHORT_NAME_LENGTH];
 } __packed;
 
 #define MGMT_OP_ADD_UUID		0x0010
Signature · 1 line
1.7.7.6
#1 lore raw

Hi Marcel,

Quoted 7 lines · Marcel Holtmann

The parameter list for setting the local name via management interface was missing the short name parameter.

---
 include/net/bluetooth/mgmt.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Applied to my bluetooth-next tree. Thanks.

Johan