summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8712/ieee80211.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2019-01-07 23:11:30 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-15 16:08:36 +0100
commit41be1dc75efb81bf3cfb9838998166ce1104e7f3 (patch)
tree6105e81c4794068cab6fd34beed0bb5acf079765 /drivers/staging/rtl8712/ieee80211.c
parent7c106cbb2ba8c86bedd2868b690aee8965476b3b (diff)
downloadlinux-41be1dc75efb81bf3cfb9838998166ce1104e7f3.tar.bz2
staging: rtl8712: clean up various indentation and coding style issues
There are several statements that are indented incorrectly so fix these. Also remove unnecessary { } braces and clean up a comment. Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712/ieee80211.c')
-rw-r--r--drivers/staging/rtl8712/ieee80211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8712/ieee80211.c b/drivers/staging/rtl8712/ieee80211.c
index bb4f56a5fb01..2eae11dd6b42 100644
--- a/drivers/staging/rtl8712/ieee80211.c
+++ b/drivers/staging/rtl8712/ieee80211.c
@@ -408,7 +408,7 @@ int r8712_get_wps_ie(u8 *in_ie, uint in_len, u8 *wps_ie, uint *wps_ielen)
match = true;
break;
}
- cnt += in_ie[cnt + 1] + 2; /* goto next */
+ cnt += in_ie[cnt + 1] + 2; /* goto next */
}
return match;
}