diff options
author | Manny Vindiola <mannyv@gmail.com> | 2017-07-25 22:44:47 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-30 08:29:31 -0700 |
commit | 8cd924a295ea94f37d91dab0db19e77bbd57bba2 (patch) | |
tree | b3df13c99b5889d2e3397ff2827f7d3c9ab1798f /drivers/staging/wlan-ng | |
parent | 2d7725913528ff5c7054d11d6bc44145e227ef45 (diff) | |
download | linux-8cd924a295ea94f37d91dab0db19e77bbd57bba2.tar.bz2 |
Staging: wlan-ng: hfa384x.h: Fix endianness warning for hfa384x_ps_user_count
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>
Diffstat (limited to 'drivers/staging/wlan-ng')
-rw-r--r-- | drivers/staging/wlan-ng/hfa384x.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wlan-ng/hfa384x.h b/drivers/staging/wlan-ng/hfa384x.h index 9837a591e7e3..3b18e57b4ab9 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 { |