* [PATCH] Staging: wlan-ng: hfa384x.h: Fix endianness warning for hfa384x_ps_user_count
@ 2017-07-26 2:44 Manny Vindiola
0 siblings, 0 replies; only message in thread
From: Manny Vindiola @ 2017-07-26 2:44 UTC (permalink / raw)
To: gregkh
Cc: Sergio Paracuellos, Juliana Rodrigues, devel, linux-kernel,
Manny Vindiola
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>
---
drivers/staging/wlan-ng/hfa384x.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h
index 9837a59..3b18e57 100644
--- 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 {
- u16 usercnt;
+ __le16 usercnt;
} __packed;
struct hfa384x_key_id_changed {
--
2.7.4
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-07-26 2:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-26 2:44 [PATCH] Staging: wlan-ng: hfa384x.h: Fix endianness warning for hfa384x_ps_user_count Manny Vindiola
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®