mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2025-05-09 14:53:05 +00:00
rtl8188eu: Remove dead code for FREEBSD
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
a68c6cc26e
commit
dd606233f2
22 changed files with 6 additions and 2326 deletions
|
@ -10979,26 +10979,6 @@ void survey_timer_hdl(_adapter *padapter)
|
|||
struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv;
|
||||
#ifdef CONFIG_P2P
|
||||
struct wifidirect_info *pwdinfo= &(padapter->wdinfo);
|
||||
#endif
|
||||
|
||||
//DBG_871X("marc: survey timer\n");
|
||||
#ifdef PLATFORM_FREEBSD
|
||||
rtw_mtx_lock(NULL);
|
||||
if (callout_pending(&padapter->mlmeextpriv.survey_timer.callout)) {
|
||||
/* callout was reset */
|
||||
//mtx_unlock(&sc->sc_mtx);
|
||||
rtw_mtx_unlock(NULL);
|
||||
return;
|
||||
}
|
||||
if (!callout_active(&padapter->mlmeextpriv.survey_timer.callout)) {
|
||||
/* callout was stopped */
|
||||
//mtx_unlock(&sc->sc_mtx);
|
||||
rtw_mtx_unlock(NULL);
|
||||
return;
|
||||
}
|
||||
callout_deactivate(&padapter->mlmeextpriv.survey_timer.callout);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
//issue rtw_sitesurvey_cmd
|
||||
|
@ -11053,10 +11033,6 @@ void survey_timer_hdl(_adapter *padapter)
|
|||
|
||||
|
||||
exit_survey_timer_hdl:
|
||||
#ifdef PLATFORM_FREEBSD
|
||||
rtw_mtx_unlock(NULL);
|
||||
#endif
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
@ -11069,25 +11045,6 @@ void link_timer_hdl(_adapter *padapter)
|
|||
struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info);
|
||||
//struct sta_priv *pstapriv = &padapter->stapriv;
|
||||
|
||||
#ifdef PLATFORM_FREEBSD
|
||||
rtw_mtx_lock(NULL);
|
||||
if (callout_pending(&padapter->mlmeextpriv.survey_timer.callout)) {
|
||||
/* callout was reset */
|
||||
//mtx_unlock(&sc->sc_mtx);
|
||||
rtw_mtx_unlock(NULL);
|
||||
return;
|
||||
}
|
||||
if (!callout_active(&padapter->mlmeextpriv.survey_timer.callout)) {
|
||||
/* callout was stopped */
|
||||
//mtx_unlock(&sc->sc_mtx);
|
||||
rtw_mtx_unlock(NULL);
|
||||
return;
|
||||
}
|
||||
callout_deactivate(&padapter->mlmeextpriv.survey_timer.callout);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
if (pmlmeinfo->state & WIFI_FW_AUTH_NULL)
|
||||
{
|
||||
DBG_871X("link_timer_hdl:no beacon while connecting\n");
|
||||
|
@ -11194,10 +11151,6 @@ void link_timer_hdl(_adapter *padapter)
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef PLATFORM_FREEBSD
|
||||
rtw_mtx_unlock(NULL);
|
||||
#endif
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue