From: Larry Finger Date: Tue, 18 Jun 2013 18:25:05 +0000 (-0500) Subject: rtlwifi: rtl8192cu: Fix duplicate if test X-Git-Tag: v3.2.49~54 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=965386e5345230cb27d840a272c3a5fe78fb9da7;p=pandora-kernel.git rtlwifi: rtl8192cu: Fix duplicate if test commit 10d0b9030a3f86e1e26c710c7580524d7787d688 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. This patch was originally included as commit 1288aa4, but was accidentally reverted in a later patch. Reported-by: David Binderman [original report] Reported-by: Andrea Morello [report of accidental reversion] Signed-off-by: Larry Finger Signed-off-by: John W. Linville Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed