Skip to content

Commit

Permalink
Bluetooth: Fix mgmt interaction with userspace
Browse files Browse the repository at this point in the history
Partially revert 34918cd. 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>
  • Loading branch information
Gustavo F. Padovan committed Oct 14, 2011
1 parent 12dc074 commit c636ef5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/net/bluetooth/mgmt.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c636ef5

Please sign in to comment.