aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2011-07-09 13:15:58 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2011-08-04 21:58:34 -0700
commit11e46da8ca083512f90f8251b27194108814fe24 (patch)
treec23236c7e41daaaebd8d90faf3e7f52a9d0c890e /net
parentec16ea56c8dec5ef60681c199fb369077ecbcec5 (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>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions