Bluetooth: Use correct type for userspace exported structs
authorGustavo F. Padovan <padovan@profusion.mobi>
Wed, 7 Mar 2012 02:45:42 +0000 (23:45 -0300)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 7 Mar 2012 03:04:24 +0000 (00:04 -0300)
It should be __u8 instead of u8.

Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
include/net/bluetooth/mgmt.h

index 61953dc848a62c3e7373578465c721359418332f..ffc1377e092eb2a9b15b91a799e4e18672b10bb6 100644 (file)
@@ -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