linux/drivers/net/wireless/rtlwifi
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
..
btcoexist rtlwifi: btcoexist: Fix interference between rtl8723be and Bluetooth 2015-05-26 13:48:16 +03:00
rtl8188ee rtlwifi: rtl888ee: Fix firmware header endian issues 2015-08-13 15:31:24 +03:00
rtl8192c rtlwifi: rtl8192c-common: Fix two typos 2015-08-13 15:32:49 +03:00
rtl8192ce rtlwifi: Remove unused RF6052_MAX_REG define 2015-03-03 15:30:03 +02:00
rtl8192cu rtlwifi: rtl8192cu: Remove rtl8723 code 2015-07-21 16:23:50 +03:00
rtl8192de rtlwifi: rtl8192de: Fix firmware header endian issues 2015-08-13 15:31:23 +03:00
rtl8192ee rtlwifi: rtl8192ee: Fix firmware header endian issues 2015-08-13 15:31:25 +03:00
rtl8192se rtlwifi: fix tm_trigger usage 2015-06-15 12:30:20 +03:00
rtl8723ae rtlwifi: rtl8723ae: rtl8723be: rtl8723com: Fix firmware header endian issues 2015-08-13 15:31:21 +03:00
rtl8723be rtlwifi: rtl8723ae: rtl8723be: rtl8723com: Fix firmware header endian issues 2015-08-13 15:31:21 +03:00
rtl8723com rtlwifi: rtl8723ae: rtl8723be: rtl8723com: Fix firmware header endian issues 2015-08-13 15:31:21 +03:00
rtl8821ae rtlwifi: rtl8821ae: Fix firmware endian issues 2015-08-13 15:31:22 +03:00
base.c mac80211: convert HW flags to unsigned long bitmap 2015-06-10 16:05:36 +02:00
base.h rtlwifi: Add encryption argument in rtl_is_special_data for checking DHCP packet. 2015-04-07 20:09:04 +03:00
cam.c rtlwifi: Modify cam.{c,h} and efuse.{c,h} for new drivers 2014-09-26 17:22:28 -04:00
cam.h rtlwifi: Remove unused defines from cam.h 2015-03-03 15:30:05 +02:00
core.c wireless: Use eth_<foo>_addr instead of memset 2015-03-03 17:01:36 -05:00
core.h mac80211: remove support for IFF_PROMISC 2015-04-24 11:14:13 +02:00
debug.c rtlwifi: Finish modifying core routines for new drivers 2014-09-26 17:22:28 -04:00
debug.h rtlwifi: rtl8821ae: Move driver from staging to regular tree 2014-09-26 17:22:28 -04:00
efuse.c rtlwifi: rtl8188ee: rtl8723ae: rtl8821ae: Initialize some variables 2014-09-30 13:17:38 -04:00
efuse.h rtlwifi: Remove unused defines from efuse.h 2015-03-03 15:30:08 +02:00
Kconfig rtlwifi: fix typos in Kconfig 2015-05-26 14:04:56 +03:00
Makefile rtlwifi: rtl8192ee: Move driver from staging to the regular tree 2014-09-30 13:17:14 -04:00
pci.c rtlwifi: Add encryption argument in rtl_is_special_data for checking DHCP packet. 2015-04-07 20:09:04 +03:00
pci.h rtlwifi: rtl8192ee: Fix problems with calculating free space in FIFO 2015-02-06 08:36:08 +02:00
ps.c rtlwifi: Update power-save routines for 062814 driver 2014-09-26 17:22:28 -04:00
ps.h rtlwifi: Update power-save routines for 062814 driver 2014-09-26 17:22:28 -04:00
pwrseqcmd.h rtlwifi: rtl8821ae: Move driver from staging to regular tree 2014-09-26 17:22:28 -04:00
rc.c rtlwifi: Add encryption argument in rtl_is_special_data for checking DHCP packet. 2015-04-07 20:09:04 +03:00
rc.h rtlwifi: Finish modifying core routines for new drivers 2014-09-26 17:22:28 -04:00
regd.c rtlwifi: Update regulatory database 2015-05-26 13:56:31 +03:00
regd.h rtlwifi: Update regulatory database 2015-05-26 13:56:31 +03:00
stats.c rtlwifi: No need to export rtl_evm_dbm_jaguar anymore 2015-03-16 17:55:41 +02:00
stats.h rtlwifi: No need to export rtl_evm_dbm_jaguar anymore 2015-03-16 17:55:41 +02:00
usb.c rtlwifi: rtl8192cu: Fix kernel deadlock 2015-04-28 13:55:28 +03:00
usb.h rtlwifi: usb: defer rx processing to tasklet 2013-03-25 16:42:22 -04:00
wifi.h rtlwifi: rtl8723ae: rtl8723be: rtl8723com: Fix firmware header endian issues 2015-08-13 15:31:21 +03:00