staging: wlan-ng: add missing byte order conversion
authorIgor Pylypiv <igor.pylypiv@gmail.com>
Tue, 31 Jan 2017 05:39:54 +0000 (21:39 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 31 Jan 2017 08:30:58 +0000 (09:30 +0100)
commit2c474b8579e9b67ff72b2bcefce9f53c7f4469d4
tree07885e7043de627a9d3055d4dfe72ced0a4c172e
parentd9c3b5a7645a75f4bfcd65f11857361443dce31b
staging: wlan-ng: add missing byte order conversion

Conversion macros le16_to_cpu was removed and that caused new sparse warning

sparse output:
drivers/staging/wlan-ng/p80211netdev.c:241:44: warning: incorrect type in argument 2 (different base types)
drivers/staging/wlan-ng/p80211netdev.c:241:44:    expected unsigned short [unsigned] [usertype] fc
drivers/staging/wlan-ng/p80211netdev.c:241:44:    got restricted __le16 [usertype] fc

Fixes: 7ad82572348c ("staging:wlan-ng:Fix sparse warning")
Signed-off-by: Igor Pylypiv <igor.pylypiv@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wlan-ng/p80211netdev.c