Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e708d2c7 authored by Aviv Palivoda's avatar Aviv Palivoda Committed by Greg Kroah-Hartman
Browse files

staging: wlan-ng: Use little-endian type



Fix the following sparse warning:
drivers/staging//wlan-ng/prism2sta.c:1691:20: warning: incorrect type in assignment (different base types)

The authantication data is in little endian order. Change the types to little endian order:
(a) Change struct hfa384x_authenticate_station_data status, algorithm members type to __le16.
(b) Change struct hfa384x_auth_request algorithm member type to __le16.
(c) All assignment to status are converted to little-endian prior to assignment.

Signed-off-by: default avatarAviv Palivoda <palaviv@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 53116782
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment