Browse Source

Bluetooth: Use correct type for userspace exported structs

It should be __u8 instead of u8.

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Gustavo F. Padovan 13 years ago
parent
commit
044e124734
1 changed files with 3 additions and 3 deletions
  1. 3 3
      include/net/bluetooth/mgmt.h

+ 3 - 3
include/net/bluetooth/mgmt.h

@@ -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