summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2011-10-14 22:56:21 (GMT)
committerGustavo F. Padovan <padovan@profusion.mobi>2011-10-14 22:56:21 (GMT)
commitc636ef58865920c8ba9f877c1040bc73eb61e5cb (patch)
treeea64a5356cea26167e9c403364e155fb543f942b /include/net
parent12dc0743015fee37f4090f0937c898294cd2d133 (diff)
downloadlinux-c636ef58865920c8ba9f877c1040bc73eb61e5cb.tar.xz
Bluetooth: Fix mgmt interaction with userspace
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>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/bluetooth/mgmt.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h
index d66da0f..3062fd3 100644
--- 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