Skip to content

Commit

Permalink
Bluetooth: Fix data type of appearence
Browse files Browse the repository at this point in the history
It should be __le16 instead of __u16 since its part of
mgmt API.

Signed-off-by: Jaganath Kanakkassery <[email protected]>
Signed-off-by: Marcel Holtmann <[email protected]>
  • Loading branch information
jaganathkr authored and holtmann committed Apr 1, 2018
1 parent 06b19fe commit 8c59c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/net/bluetooth/mgmt.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8c59c26

Please sign in to comment.