Skip to content
Commit 86028533 authored by Igor Pylypiv's avatar Igor Pylypiv Committed by Sasha Levin
Browse files

staging: wlan-ng: add missing byte order conversion

[ Upstream commit 2c474b85 ]

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: 7ad82572

 ("staging:wlan-ng:Fix sparse warning")
Signed-off-by: default avatarIgor Pylypiv <igor.pylypiv@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarSasha Levin <alexander.levin@verizon.com>
parent bd253cf6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment