summaryrefslogtreecommitdiffstats
path: root/include/net/bluetooth
diff options
context:
space:
mode:
authorGustavo F. Padovan <padovan@profusion.mobi>2012-03-06 23:45:42 -0300
committerGustavo F. Padovan <padovan@profusion.mobi>2012-03-07 00:04:24 -0300
commit044e1247344d7ff0dbdb1e7edd80d859a8c19aa6 (patch)
treedb93188e2fc22ddd9525cccddfba792fb5ce37b1 /include/net/bluetooth
parentc4762507342dabbe6896ef288df0851ac7dd63d6 (diff)
downloadlinux-044e1247344d7ff0dbdb1e7edd80d859a8c19aa6.tar.gz
linux-044e1247344d7ff0dbdb1e7edd80d859a8c19aa6.tar.bz2
linux-044e1247344d7ff0dbdb1e7edd80d859a8c19aa6.zip
Bluetooth: Use correct type for userspace exported structs
It should be __u8 instead of u8. Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r--include/net/bluetooth/mgmt.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h
index 61953dc848a6..ffc1377e092e 100644
--- a/include/net/bluetooth/mgmt.h
+++ b/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