mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-22 12:33:40 +00:00
rtl8188eu: Remove DBG_RX_DECRYPTOR - not defined
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
2d82a64cba
commit
74da315bc2
1 changed files with 5 additions and 29 deletions
|
@ -569,14 +569,8 @@ _func_enter_;
|
||||||
|
|
||||||
if ((prxattrib->encrypt>0) && ((prxattrib->bdecrypted==0) ||(psecuritypriv->sw_decrypt==true)))
|
if ((prxattrib->encrypt>0) && ((prxattrib->bdecrypted==0) ||(psecuritypriv->sw_decrypt==true)))
|
||||||
{
|
{
|
||||||
|
|
||||||
psecuritypriv->hw_decrypted=false;
|
psecuritypriv->hw_decrypted=false;
|
||||||
|
|
||||||
#ifdef DBG_RX_DECRYPTOR
|
|
||||||
DBG_88E("prxstat->bdecrypted:%d, prxattrib->encrypt:%d, Setting psecuritypriv->hw_decrypted = %d\n"
|
|
||||||
, prxattrib->bdecrypted ,prxattrib->encrypt, psecuritypriv->hw_decrypted);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
switch (prxattrib->encrypt){
|
switch (prxattrib->encrypt){
|
||||||
case _WEP40_:
|
case _WEP40_:
|
||||||
case _WEP104_:
|
case _WEP104_:
|
||||||
|
@ -592,39 +586,21 @@ _func_enter_;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (prxattrib->bdecrypted==1
|
else if (prxattrib->bdecrypted == 1 && prxattrib->encrypt > 0 &&
|
||||||
&& prxattrib->encrypt >0
|
(psecuritypriv->busetkipkey==1 || prxattrib->encrypt !=_TKIP_))
|
||||||
&& (psecuritypriv->busetkipkey==1 || prxattrib->encrypt !=_TKIP_ )
|
|
||||||
)
|
|
||||||
{
|
|
||||||
psecuritypriv->hw_decrypted=true;
|
psecuritypriv->hw_decrypted=true;
|
||||||
#ifdef DBG_RX_DECRYPTOR
|
|
||||||
DBG_88E("prxstat->bdecrypted:%d, prxattrib->encrypt:%d, Setting psecuritypriv->hw_decrypted = %d\n"
|
|
||||||
, prxattrib->bdecrypted ,prxattrib->encrypt, psecuritypriv->hw_decrypted);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
}
|
if (res == _FAIL) {
|
||||||
else {
|
|
||||||
#ifdef DBG_RX_DECRYPTOR
|
|
||||||
DBG_88E("prxstat->bdecrypted:%d, prxattrib->encrypt:%d, psecuritypriv->hw_decrypted:%d\n"
|
|
||||||
, prxattrib->bdecrypted ,prxattrib->encrypt, psecuritypriv->hw_decrypted);
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
if (res == _FAIL)
|
|
||||||
{
|
|
||||||
rtw_free_recvframe(return_packet,&padapter->recvpriv.free_recv_queue);
|
rtw_free_recvframe(return_packet,&padapter->recvpriv.free_recv_queue);
|
||||||
return_packet = NULL;
|
return_packet = NULL;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_func_exit_;
|
_func_exit_;
|
||||||
|
|
||||||
return return_packet;
|
return return_packet;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* set the security information in the recv_frame */
|
/* set the security information in the recv_frame */
|
||||||
union recv_frame * portctrl(_adapter *adapter,union recv_frame * precv_frame);
|
|
||||||
union recv_frame *portctrl(_adapter *adapter, union recv_frame *precv_frame)
|
union recv_frame *portctrl(_adapter *adapter, union recv_frame *precv_frame)
|
||||||
{
|
{
|
||||||
u8 *psta_addr, *ptr;
|
u8 *psta_addr, *ptr;
|
||||||
|
|
Loading…
Reference in a new issue