OpenCloudOS-Kernel/drivers/net/wireless/rtlwifi/rtl8192c
Larry Finger 3544f9f150 rtlwifi: rtl8192c-common: Fix two typos
In this driver, two variables are masked by one quantity, and then tested
against a second number with more bits that the mask. Accordingly, the
test always fails. To minimize the possibility of such typos, a symbolic
definition of the mask is created and used.

The separate load and mask operations are also combined into a single
statement.

Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: David Binderman <dcb314@hotmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2015-08-13 15:32:49 +03:00
..
Makefile rtlwifi: rtl8192ce: rtl8192cu: Fix multiple def errors for allyesconfig build 2011-02-23 16:28:41 -05:00
dm_common.c rtlwifi: rtl8192c-common: Fix two typos 2015-08-13 15:32:49 +03:00
dm_common.h rtlwifi: rtl8192c-common: Convert driver to use common DM table initialization 2015-01-09 15:48:12 +02:00
fw_common.c rtlwifi: rtl8192ce: rtl8192cu: Fix endian issue 2015-08-13 15:31:20 +03:00
fw_common.h rtlwifi: rtl8192ce: rtl8192cu: Fix endian issue 2015-08-13 15:31:20 +03:00
main.c rtlwifi: Move pr_fmt macros to a single location 2012-01-30 15:48:23 -05:00
phy_common.c rtlwifi: rtl8192ce: rtl8192common: Update for latest version of Realtek drivers 2014-09-30 13:17:15 -04:00
phy_common.h rtlwifi: rtl8192ce: rtl8192common: Update for latest version of Realtek drivers 2014-09-30 13:17:15 -04:00