summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/mwifiex/sta_ioctl.c
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2013-06-18 22:25:05 +0400
committerJohn W. Linville <linville@tuxdriver.com>2013-06-19 23:28:20 +0400
commit10d0b9030a3f86e1e26c710c7580524d7787d688 (patch)
tree9d0f70a6807a3332a2d1fd608868e43bf98fd131 /drivers/net/wireless/mwifiex/sta_ioctl.c
parent354b75bfdbef02739af39acdbf804549c4626816 (diff)
downloadlinux-10d0b9030a3f86e1e26c710c7580524d7787d688.tar.xz
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 <dcb314@hotmail.com> [original report] Reported-by: Andrea Morello <andrea.merello@gmail.com> [report of accidental reversion] Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Cc: stable <stable@vger.kernel.org> [back to 2.6.39] Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/sta_ioctl.c')
0 files changed, 0 insertions, 0 deletions