summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorJaya Durga <rjdurga@gmail.com>2017-05-05 10:11:54 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-05-15 07:41:57 +0200
commit3bca7cf81faa9e772ec58ccad645bf4d0f0600b3 (patch)
treed89efe9b7e4496ac709d325c9a12298dfa308fab /drivers/staging
parent2f1e2772ecebd423f211748de4389f76f0a47230 (diff)
downloadblackbird-op-linux-3bca7cf81faa9e772ec58ccad645bf4d0f0600b3.tar.gz
blackbird-op-linux-3bca7cf81faa9e772ec58ccad645bf4d0f0600b3.zip
Staging: rtl8712: ieee80211: fixed brace coding style issue
Fixed coding style issue Signed-off-by: Jaya Durga <rjdurga@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/rtl8712/ieee80211.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/rtl8712/ieee80211.c b/drivers/staging/rtl8712/ieee80211.c
index f35121eedac6..0689f4537b94 100644
--- a/drivers/staging/rtl8712/ieee80211.c
+++ b/drivers/staging/rtl8712/ieee80211.c
@@ -197,9 +197,10 @@ int r8712_generate_ie(struct registry_priv *pregistrypriv)
pdev_network->rates, &sz);
ie = r8712_set_ie(ie, _EXT_SUPPORTEDRATES_IE_, (rateLen - 8),
(pdev_network->rates + 8), &sz);
- } else
+ } else {
ie = r8712_set_ie(ie, _SUPPORTEDRATES_IE_,
rateLen, pdev_network->rates, &sz);
+ }
/*DS parameter set*/
ie = r8712_set_ie(ie, _DSSET_IE_, 1,
(u8 *)&pdev_network->Configuration.DSConfig, &sz);
OpenPOWER on IntegriCloud