projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d77259
)
Staging: wlan-ng: hfa384x.h: Fix endianness warning for hfa384x_ps_user_count
author
Manny Vindiola
<mannyv@gmail.com>
Wed, 26 Jul 2017 02:44:47 +0000
(22:44 -0400)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sun, 30 Jul 2017 15:29:31 +0000
(08:29 -0700)
The field in hfa384x_ps_user_count was defined as u16 but used as __le16
Changed type to __le16 for consistency
Signed-off-by: Manny Vindiola <mannyv@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/hfa384x.h
patch
|
blob
|
history
diff --git
a/drivers/staging/wlan-ng/hfa384x.h
b/drivers/staging/wlan-ng/hfa384x.h
index 9837a591e7e3626e6abb1ac4130c7caffb6ef2a6..3b18e57b4ab93ceb40c03751f4445de0ea3ecc5f 100644
(file)
--- a/
drivers/staging/wlan-ng/hfa384x.h
+++ b/
drivers/staging/wlan-ng/hfa384x.h
@@
-739,7
+739,7
@@
struct hfa384x_auth_request {
/*-- Unsolicited Frame, MAC Mgmt: PSUserCount (AP Only) --*/
struct hfa384x_ps_user_count {
-
u
16 usercnt;
+
__le
16 usercnt;
} __packed;
struct hfa384x_key_id_changed {