staging: rtl8192e: Fix big-endian warning
authorLarry Finger <Larry.Finger@lwfinger.net>
Fri, 24 Jun 2011 22:02:54 +0000 (17:02 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 6 Jul 2011 02:59:48 +0000 (19:59 -0700)
commit4046dabb7992580da6ee6cadb938d15627e7676e
treeb8bbc6e10ff15badc229249af88462a3ae2b21d6
parentffac362e71ddc849d555b9a9726831b97b09288b
staging: rtl8192e: Fix big-endian warning

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

  CC [M]  drivers/staging/rtl8192e/ieee80211/ieee80211_softmac.o
drivers/staging/rtl8192e/ieee80211/ieee80211_softmac.c: In function 'ieee80211_probe_resp':
drivers/staging/rtl8192e/ieee80211/ieee80211_softmac.c:781: 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/rtl8192e/ieee80211/ieee80211_softmac.c