OpenCloudOS-Kernel/drivers/net/wireless/rtlwifi
Larry Finger 10d0b9030a rtlwifi: rtl8192cu: Fix duplicate if test
A typo causes routine rtl92cu_phy_rf6052_set_cck_txpower() to test the
same condition twice. The problem was found using cppcheck-1.49, and the
proper fix was verified against the pre-mac80211 version of the code.

This patch was originally included as commit 1288aa4, but was accidentally
reverted in a later patch.

Reported-by: David Binderman <dcb314@hotmail.com> [original report]
Reported-by: Andrea Morello <andrea.merello@gmail.com> [report of accidental reversion]
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: stable <stable@vger.kernel.org>  [back to 2.6.39]
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2013-06-19 15:28:20 -04:00
..
rtl8188ee rtlwifi: rtl8188ee: Fix warning when building on big-endian systems 2013-05-17 14:31:06 -04:00
rtl8192c rtl8192c:dm: Properly initialize local array and set value. 2013-04-23 14:14:52 -04:00
rtl8192ce Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next 2013-04-10 14:09:54 -04:00
rtl8192cu rtlwifi: rtl8192cu: Fix duplicate if test 2013-06-19 15:28:20 -04:00
rtl8192de rtlwifi: initialize local array and set value. 2013-06-10 15:37:34 -04:00
rtl8192se Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next 2013-04-10 14:09:54 -04:00
rtl8723ae Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next 2013-04-10 14:09:54 -04:00
Kconfig rtlwifi: rtl8188ee: Enable build of new driver 2013-04-01 16:20:54 -04:00
Makefile rtlwifi: rtl8188ee: Enable build of new driver 2013-04-01 16:20:54 -04:00
base.c Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next 2013-04-10 14:09:54 -04:00
base.h rtlwifi Modify existing bits to match vendor version 2013.02.07 2013-04-01 16:17:06 -04:00
cam.c rtlwifi: use eth_zero_addr() to assign zero address 2012-11-16 14:29:07 -05:00
cam.h rtlwifi: Update copyright dates 2012-01-24 14:08:37 -05:00
core.c Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next 2013-04-10 14:09:54 -04:00
core.h rtlwifi: Convert to asynchronous firmware load 2012-01-30 15:48:50 -05:00
debug.c rtlwifi Modify existing bits to match vendor version 2013.02.07 2013-04-01 16:17:06 -04:00
debug.h rtlwifi: rtl8192c: rtl8192ce: rtl8192cu: rtl8192de: rtl8723ae: Add changes required by adding rtl81988ee 2013-04-01 16:20:53 -04:00
efuse.c rtlwifi: rtl8188ee: Enable recognition of RTL8188EE 2013-04-01 16:20:54 -04:00
efuse.h rtlwifi: rtl8192c: rtl8192ce: rtl8192cu: rtl8192de: rtl8723ae: Add changes required by adding rtl81988ee 2013-04-01 16:20:53 -04:00
pci.c rtlwifi: Fix a false leak indication for PCI devices 2013-06-12 10:20:57 -04:00
pci.h rtlwifi: rtl8188ee: Enable recognition of RTL8188EE 2013-04-01 16:20:54 -04:00
ps.c rtlwifi Modify existing bits to match vendor version 2013.02.07 2013-04-01 16:17:06 -04:00
ps.h rtlwifi Modify existing bits to match vendor version 2013.02.07 2013-04-01 16:17:06 -04:00
rc.c Merge branch 'for-john' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next 2013-02-15 13:59:53 -05:00
rc.h rtlwifi: Update copyright dates 2012-01-24 14:08:37 -05:00
regd.c wireless: make the reg_notifier() void 2013-01-14 11:32:44 +01:00
regd.h wireless: make the reg_notifier() void 2013-01-14 11:32:44 +01:00
stats.c rtlwifi: rtl8192ce: rtl8192cu: rtl8192se: rtl81723ae: Turn on building of the new driver 2012-11-14 14:55:31 -05:00
stats.h rtlwifi: Modify files for addition of rtl8723ae 2012-11-14 14:55:30 -05:00
usb.c rtlwifi: rtl8192cu: Fix problem in connecting to WEP or WPA(1) networks 2013-06-12 10:20:55 -04:00
usb.h rtlwifi: usb: defer rx processing to tasklet 2013-03-25 16:42:22 -04:00
wifi.h rtlwifi: rtl8192cu: Fix problem in connecting to WEP or WPA(1) networks 2013-06-12 10:20:55 -04:00