mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-22 04:23:39 +00:00
rtl8188eu: Remove CONFIG_LPS_RPWM_TIMER
This symbol is not defined. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
cf8cd84af0
commit
5fc5fdc06a
2 changed files with 0 additions and 18 deletions
|
@ -356,20 +356,11 @@ _func_enter_;
|
|||
pslv = PS_STATE_S3;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_LPS_RPWM_TIMER
|
||||
if (pwrpriv->brpwmtimeout == true)
|
||||
{
|
||||
DBG_88E("%s: RPWM timeout, force to set RPWM(0x%02X) again!\n", __func__, pslv);
|
||||
}
|
||||
else
|
||||
#endif /* CONFIG_LPS_RPWM_TIMER */
|
||||
{
|
||||
if ( (pwrpriv->rpwm == pslv)) {
|
||||
RT_TRACE(_module_rtl871x_pwrctrl_c_,_drv_err_,
|
||||
("%s: Already set rpwm[0x%02X], new=0x%02X!\n", __func__, pwrpriv->rpwm, pslv));
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if ((padapter->bSurpriseRemoved == true) ||
|
||||
(padapter->hw_init_completed == false))
|
||||
|
@ -401,10 +392,6 @@ _func_enter_;
|
|||
|
||||
pwrpriv->rpwm = pslv;
|
||||
|
||||
#ifdef CONFIG_LPS_RPWM_TIMER
|
||||
if (rpwm & PS_ACK)
|
||||
_set_timer(&pwrpriv->pwr_rpwm_timer, LPS_RPWM_WAIT_MS);
|
||||
#endif /* CONFIG_LPS_RPWM_TIMER */
|
||||
rtw_hal_set_hwreg(padapter, HW_VAR_SET_RPWM, (u8 *)(&rpwm));
|
||||
|
||||
pwrpriv->tog += 0x80;
|
||||
|
|
|
@ -191,11 +191,6 @@ struct pwrctrl_priv
|
|||
|
||||
u32 alives;
|
||||
_workitem cpwm_event;
|
||||
#ifdef CONFIG_LPS_RPWM_TIMER
|
||||
u8 brpwmtimeout;
|
||||
_workitem rpwmtimeoutwi;
|
||||
_timer pwr_rpwm_timer;
|
||||
#endif // CONFIG_LPS_RPWM_TIMER
|
||||
u8 bpower_saving;
|
||||
|
||||
u8 b_hw_radio_off;
|
||||
|
|
Loading…
Reference in a new issue