staging: rtl8192u: Fix indentation
authorFu Yong Quah <quah.fy95@gmail.com>
Tue, 7 Feb 2017 03:24:12 +0000 (22:24 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Feb 2017 12:23:13 +0000 (13:23 +0100)
Fix number of indentaions for block scopes as suggested by
Documentation/CodingStyle.

Signed-off-by: Fu Yong Quah <quah.fy95@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r8192U_wx.c

index d2f2f24..a954538 100644 (file)
@@ -562,7 +562,7 @@ static int r8192_wx_set_enc(struct net_device *dev,
                }
 
                if (wrqu->encoding.length == 0x5) {
-                               ieee->pairwise_key_type = KEY_TYPE_WEP40;
+                       ieee->pairwise_key_type = KEY_TYPE_WEP40;
                        EnableHWSecurityConfig8192(dev);
 
                        setKey(dev,
@@ -576,8 +576,8 @@ static int r8192_wx_set_enc(struct net_device *dev,
                }
 
                else if (wrqu->encoding.length == 0xd) {
-                               ieee->pairwise_key_type = KEY_TYPE_WEP104;
-                               EnableHWSecurityConfig8192(dev);
+                       ieee->pairwise_key_type = KEY_TYPE_WEP104;
+                       EnableHWSecurityConfig8192(dev);
 
                        setKey(dev,
                                key_idx,                /* EntryNo */