staging: rtl8192u: Fix endianness warnings in ieee80211_rx.c
authorSebastian Haas <sehaas@deebas.com>
Mon, 20 Feb 2017 23:31:47 +0000 (00:31 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 6 Mar 2017 08:17:01 +0000 (09:17 +0100)
commit2f55aa548354e71fd0cc550b9a9088416618bc98
tree1a75410c0963be3eb7fec192d8380c147654676e
parent1c19f3794d8e286ce5188175ef1d9a66ecb8d28e
staging: rtl8192u: Fix endianness warnings in ieee80211_rx.c

Fixes the endianness warning "restricted __le16 degrades to integer" by
converting __le16 to short before using it in bitmasks or in the
macro WLAN_FC_GET_STYPE.

Signed-off-by: Sebastian Haas <sehaas@deebas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/ieee80211_rx.c