mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-10 07:29: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)))
|
||||
{
|
||||
|
||||
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){
|
||||
case _WEP40_:
|
||||
case _WEP104_:
|
||||
|
@ -592,40 +586,22 @@ _func_enter_;
|
|||
break;
|
||||
}
|
||||
}
|
||||
else if (prxattrib->bdecrypted==1
|
||||
&& prxattrib->encrypt >0
|
||||
&& (psecuritypriv->busetkipkey==1 || prxattrib->encrypt !=_TKIP_ )
|
||||
)
|
||||
{
|
||||
else if (prxattrib->bdecrypted == 1 && prxattrib->encrypt > 0 &&
|
||||
(psecuritypriv->busetkipkey==1 || prxattrib->encrypt !=_TKIP_))
|
||||
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
|
||||
|
||||
}
|
||||
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)
|
||||
{
|
||||
if (res == _FAIL) {
|
||||
rtw_free_recvframe(return_packet,&padapter->recvpriv.free_recv_queue);
|
||||
return_packet = NULL;
|
||||
|
||||
}
|
||||
|
||||
_func_exit_;
|
||||
|
||||
return return_packet;
|
||||
|
||||
}
|
||||
|
||||
/* 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;
|
||||
uint auth_alg;
|
||||
|
|
Loading…
Reference in a new issue