mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-06-23 16:44:20 +00:00
rtl8188eu: Chnage "=NULL" to "= NULL"
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
16d2a24227
commit
51e6fae39e
21 changed files with 88 additions and 88 deletions
|
@ -666,7 +666,7 @@ u32 rtw_tkip_encrypt(struct adapter *padapter, u8 *pxmitframe)
|
|||
stainfo =rtw_get_stainfo(&padapter->stapriv ,&pattrib->ra[0] );
|
||||
}
|
||||
|
||||
if (stainfo!=NULL) {
|
||||
if (stainfo!= NULL) {
|
||||
|
||||
if (!(stainfo->state &_FW_LINKED))
|
||||
{
|
||||
|
@ -674,7 +674,7 @@ u32 rtw_tkip_encrypt(struct adapter *padapter, u8 *pxmitframe)
|
|||
return _FAIL;
|
||||
}
|
||||
|
||||
RT_TRACE(_module_rtl871x_security_c_, _drv_err_, ("rtw_tkip_encrypt: stainfo!=NULL!!!\n"));
|
||||
RT_TRACE(_module_rtl871x_security_c_, _drv_err_, ("rtw_tkip_encrypt: stainfo!= NULL!!!\n"));
|
||||
|
||||
if (IS_MCAST(pattrib->ra))
|
||||
{
|
||||
|
@ -765,7 +765,7 @@ u32 rtw_tkip_decrypt(struct adapter *padapter, u8 *precvframe)
|
|||
if (prxattrib->encrypt ==_TKIP_) {
|
||||
|
||||
stainfo =rtw_get_stainfo(&padapter->stapriv ,&prxattrib->ta[0] );
|
||||
if (stainfo!=NULL) {
|
||||
if (stainfo!= NULL) {
|
||||
|
||||
if (IS_MCAST(prxattrib->ra))
|
||||
{
|
||||
|
@ -812,7 +812,7 @@ u32 rtw_tkip_decrypt(struct adapter *padapter, u8 *precvframe)
|
|||
}
|
||||
else
|
||||
{
|
||||
RT_TRACE(_module_rtl871x_security_c_, _drv_err_, ("rtw_tkip_decrypt: stainfo!=NULL!!!\n"));
|
||||
RT_TRACE(_module_rtl871x_security_c_, _drv_err_, ("rtw_tkip_decrypt: stainfo!= NULL!!!\n"));
|
||||
prwskey =&stainfo->dot118021x_UncstKey.skey[0];
|
||||
prwskeylen =16;
|
||||
}
|
||||
|
@ -1560,13 +1560,13 @@ u32 rtw_aes_encrypt(struct adapter *padapter, u8 *pxmitframe)
|
|||
stainfo =rtw_get_stainfo(&padapter->stapriv ,&pattrib->ra[0] );
|
||||
}
|
||||
|
||||
if (stainfo!=NULL) {
|
||||
if (stainfo!= NULL) {
|
||||
if (!(stainfo->state &_FW_LINKED)) {
|
||||
DBG_871X("%s, psta->state(0x%x) != _FW_LINKED\n", __func__, stainfo->state);
|
||||
return _FAIL;
|
||||
}
|
||||
|
||||
RT_TRACE(_module_rtl871x_security_c_, _drv_err_, ("rtw_aes_encrypt: stainfo!=NULL!!!\n"));
|
||||
RT_TRACE(_module_rtl871x_security_c_, _drv_err_, ("rtw_aes_encrypt: stainfo!= NULL!!!\n"));
|
||||
|
||||
if (IS_MCAST(pattrib->ra))
|
||||
prwskey =psecuritypriv->dot118021XGrpKey[psecuritypriv->dot118021XGrpKeyid].skey;
|
||||
|
@ -1875,8 +1875,8 @@ u32 rtw_aes_decrypt(struct adapter *padapter, u8 *precvframe)
|
|||
/* 4 start to encrypt each fragment */
|
||||
if ((prxattrib->encrypt ==_AES_)) {
|
||||
stainfo =rtw_get_stainfo(&padapter->stapriv ,&prxattrib->ta[0] );
|
||||
if (stainfo!=NULL) {
|
||||
RT_TRACE(_module_rtl871x_security_c_, _drv_err_, ("rtw_aes_decrypt: stainfo!=NULL!!!\n"));
|
||||
if (stainfo!= NULL) {
|
||||
RT_TRACE(_module_rtl871x_security_c_, _drv_err_, ("rtw_aes_decrypt: stainfo!= NULL!!!\n"));
|
||||
|
||||
if (IS_MCAST(prxattrib->ra)) {
|
||||
static u32 start = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue