projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12dc074
)
Bluetooth: Fix mgmt interaction with userspace
author
Gustavo F. Padovan
<padovan@profusion.mobi>
Fri, 14 Oct 2011 22:56:21 +0000
(19:56 -0300)
committer
Gustavo F. Padovan
<padovan@profusion.mobi>
Fri, 14 Oct 2011 22:56:21 +0000
(19:56 -0300)
Partially revert
34918cd7
. struct mgmt_key_info needs to have the same
size as its version exported to userspace.
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/mgmt.h
patch
|
blob
|
history
diff --git
a/include/net/bluetooth/mgmt.h
b/include/net/bluetooth/mgmt.h
index d66da0f94f95ae60e4ceb1d2fe713bc90c376e08..3062fd3a65d2fc7022cdf3a6cdf67fd796c86751 100644
(file)
--- a/
include/net/bluetooth/mgmt.h
+++ b/
include/net/bluetooth/mgmt.h
@@
-101,8
+101,6
@@
struct mgmt_key_info {
u8 type;
u8 val[16];
u8 pin_len;
- u8 dlen;
- u8 data[0];
} __packed;
#define MGMT_OP_LOAD_KEYS 0x000D