diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2011-07-09 13:15:58 -0500 |
---|---|---|
committer | Jonas ABERG <jonas.aberg@stericsson.com> | 2011-10-28 11:08:03 +0200 |
commit | 60f79756606dcbf1da11a777e9f83b4d14ea790f (patch) | |
tree | eaa8cbb0c9723016527106e4ab09edae93b47538 /net | |
parent | 349c3252a76d550a223b70d8af19a8b3261a9ffa (diff) |
rtlwifi: rtl8192cu: Fix duplicate if test
commit 1288aa4e80145d9f4196df32f717b4c1cf6aab61 upstream.
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.
Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Change-Id: Ifd3c92620dd4fe558f89a7ea63ed8dc6d556fa06
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/35612
Tested-by: Per VAHLNE <per.xx.vahlne@stericsson.com>
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions