projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cacaf52
)
Bluetooth: Fix parameter list for setting local name
author
Marcel Holtmann
<marcel@holtmann.org>
Tue, 21 Feb 2012 07:14:26 +0000
(08:14 +0100)
committer
Johan Hedberg
<johan.hedberg@intel.com>
Tue, 21 Feb 2012 10:42:54 +0000
(12:42 +0200)
The parameter list for setting the local name via management interface
was missing the short name parameter.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
include/net/bluetooth/mgmt.h
patch
|
blob
|
history
diff --git
a/include/net/bluetooth/mgmt.h
b/include/net/bluetooth/mgmt.h
index 1dbadbe14785349b2236a5e6ac97f0f26b65d588..ac59cdd0fa1b7c89e26cf9921116e6fe7e32e7d4 100644
(file)
--- a/
include/net/bluetooth/mgmt.h
+++ b/
include/net/bluetooth/mgmt.h
@@
-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