diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2011-07-09 13:15:58 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-08-04 21:58:34 -0700 |
commit | 11e46da8ca083512f90f8251b27194108814fe24 (patch) | |
tree | c23236c7e41daaaebd8d90faf3e7f52a9d0c890e /net/mac80211 | |
parent | ec16ea56c8dec5ef60681c199fb369077ecbcec5 (diff) | |
download | kernel_samsung_aries-11e46da8ca083512f90f8251b27194108814fe24.zip kernel_samsung_aries-11e46da8ca083512f90f8251b27194108814fe24.tar.gz kernel_samsung_aries-11e46da8ca083512f90f8251b27194108814fe24.tar.bz2 |
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>
Diffstat (limited to 'net/mac80211')
0 files changed, 0 insertions, 0 deletions