diff options
author | Jaganath Kanakkassery <jaganath.k.os@gmail.com> | 2018-02-26 12:11:07 +0530 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2018-04-01 14:25:30 +0200 |
commit | 8c59c264e5e17670c0ad2063fa40e3091b549151 (patch) | |
tree | 8f701e15853c41dc78df8267420ecb213f5a6db3 /include | |
parent | 06b19fe9a6df7aaa423cd8404ebe5ac9ec4b2960 (diff) | |
download | linux-stable-8c59c264e5e17670c0ad2063fa40e3091b549151.tar.gz linux-stable-8c59c264e5e17670c0ad2063fa40e3091b549151.tar.bz2 linux-stable-8c59c264e5e17670c0ad2063fa40e3091b549151.zip |
Bluetooth: Fix data type of appearence
It should be __le16 instead of __u16 since its part of
mgmt API.
Signed-off-by: Jaganath Kanakkassery <jaganathx.kanakkassery@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/bluetooth/mgmt.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |