Skip to content

Commit

Permalink
Bluetooth: Use correct type for userspace exported structs
Browse files Browse the repository at this point in the history
It should be __u8 instead of u8.

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
  • Loading branch information
Gustavo F. Padovan committed Mar 7, 2012
1 parent c476250 commit 044e124
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/net/bluetooth/mgmt.h
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@ struct mgmt_cp_remove_uuid {

struct mgmt_link_key_info {
struct mgmt_addr_info addr;
u8 type;
u8 val[16];
u8 pin_len;
__u8 type;
__u8 val[16];
__u8 pin_len;
} __packed;

#define MGMT_OP_LOAD_LINK_KEYS 0x0012
Expand Down

0 comments on commit 044e124

Please sign in to comment.