예제 #1
0
void rtw_cancel_all_timer(struct rtl_priv *rtlpriv)
{
	_cancel_timer_ex(&rtlpriv->mlmepriv.assoc_timer);

	/*
	 * _cancel_timer_ex(&rtlpriv->securitypriv.tkip_timer);
	 * RT_TRACE(_module_os_intfs_c_,_drv_info_,("rtw_cancel_all_timer:cancel tkip_timer! \n"));
	 */

	_cancel_timer_ex(&rtlpriv->mlmepriv.scan_to_timer);
	_cancel_timer_ex(&rtlpriv->mlmepriv.dynamic_chk_timer);

	/* cancel sw led timer */
	rtw_hal_sw_led_deinit(rtlpriv);

	_cancel_timer_ex(&rtlpriv->pwrctrlpriv.pwr_state_check_timer);


#ifdef CONFIG_NEW_SIGNAL_STAT_PROCESS
	_cancel_timer_ex(&rtlpriv->recvpriv.signal_stat_timer);
#endif
	/* cancel dm timer */
	rtw_hal_dm_deinit(rtlpriv);

}
예제 #2
0
파일: os_intfs.c 프로젝트: marceleng/linux
void rtw_cancel_all_timer(struct adapter *padapter)
{
	RT_TRACE(_module_os_intfs_c_, _drv_info_, ("+rtw_cancel_all_timer\n"));

	_cancel_timer_ex(&padapter->mlmepriv.assoc_timer);
	RT_TRACE(_module_os_intfs_c_, _drv_info_, ("rtw_cancel_all_timer:cancel association timer complete!\n"));

	_cancel_timer_ex(&padapter->mlmepriv.scan_to_timer);
	RT_TRACE(_module_os_intfs_c_, _drv_info_, ("rtw_cancel_all_timer:cancel scan_to_timer!\n"));

	_cancel_timer_ex(&padapter->mlmepriv.dynamic_chk_timer);
	RT_TRACE(_module_os_intfs_c_, _drv_info_, ("rtw_cancel_all_timer:cancel dynamic_chk_timer!\n"));

	/*  cancel sw led timer */
	rtw_hal_sw_led_deinit(padapter);
	RT_TRACE(_module_os_intfs_c_, _drv_info_, ("rtw_cancel_all_timer:cancel DeInitSwLeds!\n"));

	_cancel_timer_ex(&padapter->pwrctrlpriv.pwr_state_check_timer);

	_cancel_timer_ex(&padapter->recvpriv.signal_stat_timer);
	/* cancel dm timer */
	rtw_hal_dm_deinit(padapter);
}