linux/drivers/staging/rtl8192e
Arno Tiemersma 640f7d6938 staging: rtl8192e: Change cpu_to_le16 to le16_to_cpu
Since the function auth_parse returns a u16, and
struct rtllib_authentication.status is defined as an __le16, it seems
that

	return cpu_to_le16(a->status);

should be

	return le16_to_cpu(a->status);

This change silences the following sparse warnings:
drivers/staging/rtl8192e/rtllib_softmac.c:1817:16:
 warning: cast from restricted __le16
drivers/staging/rtl8192e/rtllib_softmac.c:1817:16:
 warning: incorrect type in return expression (different base types)
drivers/staging/rtl8192e/rtllib_softmac.c:1817:16:
    expected unsigned short
drivers/staging/rtl8192e/rtllib_softmac.c:1817:16:
    got restricted __le16 [usertype] <noident>

Signed-off-by: Arno Tiemersma <arno.tiemersma@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-05-10 15:00:41 +02:00
..
rtl8192e staging: rtl8192e: use time_before() macro 2015-05-10 15:00:41 +02:00
dot11d.c staging: rtl8192e: fixed coding style issues 2014-08-30 13:54:03 -07:00
dot11d.h staging: rtl8192e: remove eqMacAddr macro 2015-03-20 13:14:00 +01:00
Kconfig
license
Makefile
rtl819x_BA.h
rtl819x_BAProc.c staging: rtl8192e: fix coding style issues (merge broken strings) 2015-03-20 13:13:58 +01:00
rtl819x_HT.h staging: rtl8192e: remove CURRENT_RATE macro 2015-03-20 13:14:00 +01:00
rtl819x_HTProc.c staging: rtl8192e: Comment cleanup (style/format) 2015-04-03 15:29:31 +02:00
rtl819x_Qos.h staging: rtl8192e: remove unused macros 2015-03-20 13:13:59 +01:00
rtl819x_TS.h
rtl819x_TSProc.c staging: rtl8192e: Fix UNNECESSARY_ELSE warning 2015-04-03 15:29:29 +02:00
rtllib_crypt_ccmp.c staging: rtl8192e: Remove dead code 2015-04-03 15:29:31 +02:00
rtllib_crypt_tkip.c staging: rtl8192e: Comment cleanup (style/format) 2015-04-03 15:29:31 +02:00
rtllib_crypt_wep.c staging: rtl8192e: Comment cleanup (style/format) 2015-04-03 15:29:31 +02:00
rtllib_crypt.c staging: rtl8192e: Comment cleanup (style/format) 2015-04-03 15:29:31 +02:00
rtllib_crypt.h staging: rtl8192e: Comment cleanup (style/format) 2015-04-03 15:29:31 +02:00
rtllib_debug.h staging: rtl8192e: Fix SPACING errors 2015-05-08 09:24:06 +02:00
rtllib_module.c staging: rtl8192e: Remove unnecessary OOM message 2015-03-06 16:59:53 -08:00
rtllib_rx.c staging: rtl8192e: Fix DEEP_INDENTATION warnings in rtllib_parse_info_param() 2015-05-08 09:24:07 +02:00
rtllib_softmac_wx.c staging: rtl8192e: fix coding style warnings (printk -> netdev_*) 2015-03-20 13:13:59 +01:00
rtllib_softmac.c staging: rtl8192e: Change cpu_to_le16 to le16_to_cpu 2015-05-10 15:00:41 +02:00
rtllib_tx.c staging: rtl8192e: Comment cleanup (style/format) 2015-04-03 15:29:31 +02:00
rtllib_wx.c staging: rtl8192e: Remove dead code 2015-04-03 15:29:31 +02:00
rtllib.h rtl8192e: delete local copy of iee80211 reason codes. 2015-05-08 09:24:15 +02:00
TODO