staging: wilc1000: wilc_cfgoperations.c: Fixed coding styles issues.
authorDaniel Machon <dmachon.dev@gmail.com>
Wed, 5 Aug 2015 06:18:31 +0000 (08:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Aug 2015 19:14:48 +0000 (12:14 -0700)
Fixed coding styles issues with braces.

Signed-off-by: Daniel Machon <dmachon.dev@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c

index c2ef46f4740b9b7e60aa08c0d4b37fe54d05e82e..d261e599f13dc7759071d8e50d71293658448e1d 100644 (file)
@@ -1205,8 +1205,7 @@ static int WILC_WFI_add_key(struct wiphy *wiphy, struct net_device *netdev, u8 k
 
 
 
-                       if (!pairwise)
-                       {
+                       if (!pairwise) {
                                if (params->cipher == WLAN_CIPHER_SUITE_TKIP)
                                        u8gmode = ENCRYPT_ENABLED | WPA | TKIP;
                                else
@@ -1304,8 +1303,7 @@ static int WILC_WFI_add_key(struct wiphy *wiphy, struct net_device *netdev, u8 k
 
                {
                        u8mode = 0;
-                       if (!pairwise)
-                       {
+                       if (!pairwise) {
                                if (params->key_len > 16 && params->cipher == WLAN_CIPHER_SUITE_TKIP) {
                                        /* swap the tx mic by rx mic */
                                        pu8RxMic = params->key + 24;