]> git.karo-electronics.de Git - linux-beck.git/commit
staging: rtl8192u: Fix big-endian warning
authorLarry Finger <Larry.Finger@lwfinger.net>
Fri, 24 Jun 2011 22:03:12 +0000 (17:03 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 6 Jul 2011 02:59:48 +0000 (19:59 -0700)
commit20a45d6629743c1836e6f402eeba5befe9f22971
treeeaab6f5a4ed8087bd2cd769ebc659434109cea62
parent4046dabb7992580da6ee6cadb938d15627e7676e
staging: rtl8192u: Fix big-endian warning

When compiling the rtl8192u driver from staging on a big-endian
architecture, the following warning results:

  CC [M]  drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.o
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c: In function 'ieee80211_probe_resp':
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c:780: warning: value computed is not used

The warning is due to misuse of cpu_to_le16().

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/rtl8192u/ieee80211/ieee80211_softmac.c