aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/usb/smsc95xx.c
diff options
context:
space:
mode:
authorAviv Palivoda <palaviv@gmail.com>2017-07-13 19:42:47 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-18 08:59:17 +0200
commite708d2c7407339fcc6e9cb56f91c1d41064bb860 (patch)
treeb900b82b33fa693834faaaf0e143dfa472fc8527 /drivers/net/usb/smsc95xx.c
parent53116782793c82a51962518760702e22f8bc7876 (diff)
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: Aviv Palivoda <palaviv@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/usb/smsc95xx.c')
0 files changed, 0 insertions, 0 deletions