From: Jaganath Kanakkassery Date: Mon, 26 Feb 2018 06:41:07 +0000 (+0530) Subject: Bluetooth: Fix data type of appearence X-Git-Tag: microblaze-v4.18-rc1~187^2~11^2~19 X-Git-Url: http://git.monstr.eu/?a=commitdiff_plain;h=8c59c264e5e17670c0ad2063fa40e3091b549151;p=linux-2.6-microblaze.git Bluetooth: Fix data type of appearence It should be __le16 instead of __u16 since its part of mgmt API. Signed-off-by: Jaganath Kanakkassery Signed-off-by: Marcel Holtmann --- diff --git a/include/net/bluetooth/mgmt.h b/include/net/bluetooth/mgmt.h index 72a456bbbcd5..e7303eee65cd 100644 --- a/include/net/bluetooth/mgmt.h +++ b/include/net/bluetooth/mgmt.h @@ -600,7 +600,7 @@ struct mgmt_rp_read_ext_info { #define MGMT_OP_SET_APPEARANCE 0x0043 struct mgmt_cp_set_appearance { - __u16 appearance; + __le16 appearance; } __packed; #define MGMT_SET_APPEARANCE_SIZE 2