Fix number of indentaions for block scopes as suggested by
Documentation/CodingStyle.

Signed-off-by: Fu Yong Quah <quah.f...@gmail.com>
---
 drivers/staging/rtl8192u/r8192U_wx.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/staging/rtl8192u/r8192U_wx.c 
b/drivers/staging/rtl8192u/r8192U_wx.c
index d2f2f24..a954538 100644
--- a/drivers/staging/rtl8192u/r8192U_wx.c
+++ b/drivers/staging/rtl8192u/r8192U_wx.c
@@ -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 */
-- 
2.1.4

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to