summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8188eu
diff options
context:
space:
mode:
authorLuis de Bethencourt2015-10-21 19:29:59 +0200
committerGreg Kroah-Hartman2015-10-25 03:25:13 +0100
commit7346489110da94ed5792a8f1ef3116e0bd1961f6 (patch)
tree7336aecbac54304ed97c7f1993d8298def3df834 /drivers/staging/rtl8188eu
parentrtl8188eu : BIT() macro cleanup (diff)
downloadkernel-qcow2-linux-7346489110da94ed5792a8f1ef3116e0bd1961f6.tar.gz
kernel-qcow2-linux-7346489110da94ed5792a8f1ef3116e0bd1961f6.tar.xz
kernel-qcow2-linux-7346489110da94ed5792a8f1ef3116e0bd1961f6.zip
staging: rtl8188eu: fix misleading indentation
Code is correct, i needs to be moved back by 2 to correct for the last iteration of the while loop, since READ_NEXT_PAIR advances two. Fixing the misleading indentation. Fix a smatch warning: drivers/staging/rtl8188eu/hal/rf_cfg.c:217 rtl88e_phy_config_rf_with_headerfile() warn: curly braces intended? Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu')
-rw-r--r--drivers/staging/rtl8188eu/hal/rf_cfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8188eu/hal/rf_cfg.c b/drivers/staging/rtl8188eu/hal/rf_cfg.c
index 067649a7fbec..a3f1abaf60d9 100644
--- a/drivers/staging/rtl8188eu/hal/rf_cfg.c
+++ b/drivers/staging/rtl8188eu/hal/rf_cfg.c
@@ -214,7 +214,7 @@ static bool rtl88e_phy_config_rf_with_headerfile(struct adapter *adapt)
while (v2 != 0xDEAD && v2 != 0xCDEF &&
v2 != 0xCDCD && i < array_len - 2)
READ_NEXT_PAIR(v1, v2, i);
- i -= 2;
+ i -= 2;
} else {
READ_NEXT_PAIR(v1, v2, i);
while (v2 != 0xDEAD && v2 != 0xCDEF &&