[PATCH v2 09/12] staging: rtl8188eu: remove redundant spases

2015-11-07 Thread Ivan Safonov
They are not needed.

Signed-off-by: Ivan Safonov 
---
 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 
b/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c
index 62f83ab..0e2528a 100644
--- a/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c
+++ b/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c
@@ -468,7 +468,7 @@ static int wpa_set_encryption(struct net_device *dev, 
struct ieee_param *param,
 
rtw_setstakey_cmd(padapter, (unsigned 
char *)psta, true);
} else { /* group key */
-   
memcpy(padapter->securitypriv.dot118021XGrpKey[param->u.crypt.idx].skey,  
param->u.crypt.key, min_t(u16, param->u.crypt.key_len, 16 ));
+   
memcpy(padapter->securitypriv.dot118021XGrpKey[param->u.crypt.idx].skey, 
param->u.crypt.key, min_t(u16, param->u.crypt.key_len, 16));

memcpy(padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey, 
&(param->u.crypt.key[16]), 8);

memcpy(padapter->securitypriv.dot118021XGrprxmickey[param->u.crypt.idx].skey, 
&(param->u.crypt.key[24]), 8);
padapter->securitypriv.binstallGrpkey = 
true;
@@ -486,7 +486,7 @@ static int wpa_set_encryption(struct net_device *dev, 
struct ieee_param *param,
pbcmc_sta->ieee8021x_blocked = false;
 
if ((padapter->securitypriv.ndisencryptstatus 
== Ndis802_11Encryption2Enabled) ||
-   (padapter->securitypriv.ndisencryptstatus 
==  Ndis802_11Encryption3Enabled))
+   (padapter->securitypriv.ndisencryptstatus 
== Ndis802_11Encryption3Enabled))
pbcmc_sta->dot118021XPrivacy = 
padapter->securitypriv.dot11PrivacyAlgrthm;
}
}
-- 
2.4.10

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH v2 09/12] staging: rtl8188eu: remove redundant spases

2015-11-07 Thread Ivan Safonov
They are not needed.

Signed-off-by: Ivan Safonov 
---
 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c 
b/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c
index 62f83ab..0e2528a 100644
--- a/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c
+++ b/drivers/staging/rtl8188eu/os_dep/ioctl_linux.c
@@ -468,7 +468,7 @@ static int wpa_set_encryption(struct net_device *dev, 
struct ieee_param *param,
 
rtw_setstakey_cmd(padapter, (unsigned 
char *)psta, true);
} else { /* group key */
-   
memcpy(padapter->securitypriv.dot118021XGrpKey[param->u.crypt.idx].skey,  
param->u.crypt.key, min_t(u16, param->u.crypt.key_len, 16 ));
+   
memcpy(padapter->securitypriv.dot118021XGrpKey[param->u.crypt.idx].skey, 
param->u.crypt.key, min_t(u16, param->u.crypt.key_len, 16));

memcpy(padapter->securitypriv.dot118021XGrptxmickey[param->u.crypt.idx].skey, 
&(param->u.crypt.key[16]), 8);

memcpy(padapter->securitypriv.dot118021XGrprxmickey[param->u.crypt.idx].skey, 
&(param->u.crypt.key[24]), 8);
padapter->securitypriv.binstallGrpkey = 
true;
@@ -486,7 +486,7 @@ static int wpa_set_encryption(struct net_device *dev, 
struct ieee_param *param,
pbcmc_sta->ieee8021x_blocked = false;
 
if ((padapter->securitypriv.ndisencryptstatus 
== Ndis802_11Encryption2Enabled) ||
-   (padapter->securitypriv.ndisencryptstatus 
==  Ndis802_11Encryption3Enabled))
+   (padapter->securitypriv.ndisencryptstatus 
== Ndis802_11Encryption3Enabled))
pbcmc_sta->dot118021XPrivacy = 
padapter->securitypriv.dot11PrivacyAlgrthm;
}
}
-- 
2.4.10

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/