projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bluetooth: Add define for the maximum name length on HCI level
[firefly-linux-kernel-4.4.55.git]
/
include
/
net
/
bluetooth
/
hci_core.h
diff --git
a/include/net/bluetooth/hci_core.h
b/include/net/bluetooth/hci_core.h
index 441dadbf6a89f3a47444b463d5f6b2c5bf35017a..9aabb14982ddad66ae71c179a0d851bdaabe6e12 100644
(file)
--- a/
include/net/bluetooth/hci_core.h
+++ b/
include/net/bluetooth/hci_core.h
@@
-94,7
+94,7
@@
struct hci_dev {
__u8 bus;
__u8 dev_type;
bdaddr_t bdaddr;
- __u8 dev_name[
248
];
+ __u8 dev_name[
HCI_MAX_NAME_LENGTH
];
__u8 dev_class[3];
__u8 major_class;
__u8 minor_class;