Commit c636ef58 authored by Gustavo F. Padovan's avatar Gustavo F. Padovan

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: default avatarGustavo F. Padovan <padovan@profusion.mobi>
parent 12dc0743
...@@ -101,8 +101,6 @@ struct mgmt_key_info { ...@@ -101,8 +101,6 @@ struct mgmt_key_info {
u8 type; u8 type;
u8 val[16]; u8 val[16];
u8 pin_len; u8 pin_len;
u8 dlen;
u8 data[0];
} __packed; } __packed;
#define MGMT_OP_LOAD_KEYS 0x000D #define MGMT_OP_LOAD_KEYS 0x000D
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment