staging: rtl8712: changed GetFrameSubType macro
authorJannik Becher <becher.jannik@gmail.com>
Tue, 20 Dec 2016 17:59:42 +0000 (18:59 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Jan 2017 15:51:16 +0000 (16:51 +0100)
commit3d7164c3790adfb34472c42e6290748b03e1d1d0
tree7d520dcee381bfa05e9d72ad81b77cfd27e373c4
parentdd9161483f420c2ead89f8514956b7717d4ea504
staging: rtl8712: changed GetFrameSubType macro

Fixed a sparse warning.
GetFrameSubType and GetFrameType should cast to __le16. Furthermore
GetFramSubType should use le16_to_cpu instead of cpu_to_le16.

Signed-off-by: Jannik Becher <becher.jannik@gmail.com>
Tested-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/rtl871x_security.c
drivers/staging/rtl8712/wifi.h