From: Larry Finger Date: Tue, 18 Jun 2013 18:25:05 +0000 (-0500) Subject: rtlwifi: rtl8192cu: Fix duplicate if test X-Git-Tag: v3.11-rc1~64^2~166^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10d0b9030a3f86e1e26c710c7580524d7787d688;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. 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 Cc: stable [back to 2.6.39] Signed-off-by: John W. Linville --- Reading git-diff-tree failed