staging: wlan-ng: convert endianness in situ for prism2sta
authorThibaut SAUTEREAU <thibaut.sautereau@telecom-sudparis.eu>
Fri, 12 May 2017 09:39:25 +0000 (11:39 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 May 2017 10:47:55 +0000 (12:47 +0200)
commita6fce69fa3d2b13e3579c12872a1f08dd72342e1
tree5c639ab0224a444fb12b03f06560c500c8c3d6cd
parentb1bb2e33ae1fa93a8e00c2625fa344e6e6c234a6
staging: wlan-ng: convert endianness in situ for prism2sta

Fix several sparse warnings about casts to restricted
little-endian by using in situ conversions.

Signed-off-by: Thibaut SAUTEREAU <thibaut.sautereau@telecom-sudparis.eu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/prism2sta.c