mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-08 14:33:05 +00:00
rtl8188eu: Remove DBG_CONFIG_ERROR_DETECT
This variable is selected. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
46ae193f1d
commit
f50db5cd2c
16 changed files with 9 additions and 73 deletions
|
@ -1988,31 +1988,21 @@ void dynamic_chk_wk_hdl(_adapter *padapter, u8 *pbuf, int sz)
|
|||
expire_timeout_chk(padapter);
|
||||
#endif
|
||||
|
||||
#ifdef DBG_CONFIG_ERROR_DETECT
|
||||
rtw_hal_sreset_xmit_status_check(padapter);
|
||||
#endif
|
||||
|
||||
/* if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING|_FW_UNDER_SURVEY)==false) */
|
||||
{
|
||||
linked_status_chk(padapter);
|
||||
traffic_status_watchdog(padapter);
|
||||
}
|
||||
linked_status_chk(padapter);
|
||||
traffic_status_watchdog(padapter);
|
||||
|
||||
rtw_hal_dm_watchdog(padapter);
|
||||
|
||||
/* check_hw_pbc(padapter, pdrvextra_cmd->pbuf, pdrvextra_cmd->type_size); */
|
||||
|
||||
#ifdef CONFIG_BT_COEXIST
|
||||
/* */
|
||||
/* BT-Coexist */
|
||||
/* */
|
||||
BT_CoexistMechanism(padapter);
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef CONFIG_LPS
|
||||
|
||||
void lps_ctrl_wk_hdl(_adapter *padapter, u8 lps_ctrl_type);
|
||||
void lps_ctrl_wk_hdl(_adapter *padapter, u8 lps_ctrl_type)
|
||||
{
|
||||
struct pwrctrl_priv *pwrpriv = &padapter->pwrctrlpriv;
|
||||
|
|
|
@ -1103,14 +1103,12 @@ _func_enter_;
|
|||
drvext_surveydone_callback(&adapter->drvextpriv);
|
||||
#endif
|
||||
|
||||
#ifdef DBG_CONFIG_ERROR_DETECT
|
||||
{
|
||||
struct mlme_ext_priv *pmlmeext = &adapter->mlmeextpriv;
|
||||
if (pmlmeext->sitesurvey_res.bss_cnt == 0){
|
||||
rtw_hal_sreset_reset(adapter);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_IOCTL_CFG80211
|
||||
rtw_cfg80211_surveydone_event_callback(adapter);
|
||||
|
|
|
@ -9283,12 +9283,9 @@ void linked_status_chk(_adapter *padapter)
|
|||
if (padapter->bRxRSSIDisplay)
|
||||
_linked_rx_signal_strehgth_display(padapter);
|
||||
|
||||
#ifdef DBG_CONFIG_ERROR_DETECT
|
||||
rtw_hal_sreset_linked_status_check(padapter);
|
||||
#endif
|
||||
|
||||
if (is_client_associated_to_ap(padapter))
|
||||
{
|
||||
if (is_client_associated_to_ap(padapter)) {
|
||||
/* linked infrastructure client mode */
|
||||
|
||||
int tx_chk = _SUCCESS, rx_chk = _SUCCESS;
|
||||
|
|
|
@ -18,9 +18,8 @@
|
|||
*
|
||||
******************************************************************************/
|
||||
|
||||
#include<rtw_sreset.h>
|
||||
#include <rtw_sreset.h>
|
||||
|
||||
#if defined(DBG_CONFIG_ERROR_DETECT)
|
||||
void sreset_init_value(_adapter *padapter)
|
||||
{
|
||||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter);
|
||||
|
@ -82,4 +81,3 @@ void sreset_set_wifi_error_status(_adapter *padapter, u32 status)
|
|||
HAL_DATA_TYPE *pHalData = GET_HAL_DATA(padapter);
|
||||
pHalData->srestpriv.Wifi_Error_Status = status;
|
||||
}
|
||||
#endif /* defined(DBG_CONFIG_ERROR_DETECT) */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue