Skip to content
Commit 18125dc0 authored by Martin Karamihov's avatar Martin Karamihov Committed by Greg Kroah-Hartman
Browse files

staging: rtl8192u: fix incorrect type in assignment in ieee80211_tx.c



This patch fixes the following sparse warning:
ieee80211_tx.c:174:36: incorrect type in assignment (different base types)
ieee80211_tx.c:174:36: expected unsigned short [unsigned] [short] [usertype] <noident>
ieee80211_tx.c:174:36: got restricted __be16 [usertype] <noident>

by adding left side cast to __be16.

Signed-off-by: default avatarMartin Karamihov <martinowar@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent df93c720
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