projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06b19fe
)
Bluetooth: Fix data type of appearence
author
Jaganath Kanakkassery
<jaganath.k.os@gmail.com>
Mon, 26 Feb 2018 06:41:07 +0000
(12:11 +0530)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sun, 1 Apr 2018 12:25:30 +0000
(14:25 +0200)
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>
include/net/bluetooth/mgmt.h
patch
|
blob
|
history
diff --git
a/include/net/bluetooth/mgmt.h
b/include/net/bluetooth/mgmt.h
index
72a456b
..
e7303ee
100644
(file)
--- 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