Staging: wlan-ng: hfa384x.h: Fix endianness warning for hfa384x_ps_user_count
authorManny Vindiola <mannyv@gmail.com>
Wed, 26 Jul 2017 02:44:47 +0000 (22:44 -0400)
committerGreg 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

index 9837a59..3b18e57 100644 (file)
@@ -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 {