From: Larry Finger Date: Sat, 9 Jul 2011 18:15:58 +0000 (-0500) Subject: rtlwifi: rtl8192cu: Fix duplicate if test X-Git-Tag: v3.1-rc1~316^2~124^2^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1288aa4e80145d9f4196df32f717b4c1cf6aab61;p=pandora-kernel.git 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 Signed-off-by: Larry Finger Cc: stable [back to 2.6.39] Signed-off-by: John W. Linville --- Reading git-diff-tree failed