commit | 1288aa4e80145d9f4196df32f717b4c1cf6aab61 | [log] [tgz] |
---|---|---|
author | Larry Finger <Larry.Finger@lwfinger.net> | Sat Jul 09 13:15:58 2011 -0500 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Jul 11 15:02:20 2011 -0400 |
tree | 74890d483c7bf70035dee66355c1b8d2f6282c5d | |
parent | df90d84382b03faf81637db31b6be14f477482c7 [diff] |
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. Reported-by: David Binderman <dcb314@hotmail.com> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Cc: stable <stable@kernel.org> [back to 2.6.39] Signed-off-by: John W. Linville <linville@tuxdriver.com>