]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging: rtl8192u: fix incorrect type in assignment in ieee80211_tx.c
authorMartin Karamihov <martinowar@gmail.com>
Mon, 17 Apr 2017 17:00:25 +0000 (20:00 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 18 Apr 2017 11:57:05 +0000 (13:57 +0200)
commit18125dc003bd4fbb95c37d5be796f3536df445df
tree97e40d9005dd7bc06f035f03d845529b41334370
parentdf93c720e1910ba154b025288dc6945a0b0aa729
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: Martin Karamihov <martinowar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/ieee80211_tx.c