Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0120668a authored by navin patidar's avatar navin patidar Committed by Greg Kroah-Hartman
Browse files

staging: rtl8188eu: Remove wrapper function _survey_timer_hdl()

parent bd293343
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -4833,8 +4833,9 @@ void linked_status_chk(struct adapter *padapter)
	}
}

void survey_timer_hdl(struct adapter *padapter)
void survey_timer_hdl(void *function_context)
{
	struct adapter *padapter = (struct adapter *)function_context;
	struct cmd_obj	*ph2c;
	struct sitesurvey_parm	*psurveyPara;
	struct cmd_priv					*pcmdpriv = &padapter->cmdpriv;
+1 −1
Original line number Diff line number Diff line
@@ -646,7 +646,7 @@ void mlmeext_sta_add_event_callback(struct adapter *padapter,

void linked_status_chk(struct adapter *padapter);

void survey_timer_hdl (struct adapter *padapter);
void survey_timer_hdl (void *function_context);
void link_timer_hdl (struct adapter *padapter);
void addba_timer_hdl(struct sta_info *psta);

+1 −8
Original line number Diff line number Diff line
@@ -129,13 +129,6 @@ void rtw_report_sec_ie(struct adapter *adapter, u8 authmode, u8 *sec_ie)
	}
}

static void _survey_timer_hdl(void *FunctionContext)
{
	struct adapter *padapter = (struct adapter *)FunctionContext;

	survey_timer_hdl(padapter);
}

static void _link_timer_hdl(void *FunctionContext)
{
	struct adapter *padapter = (struct adapter *)FunctionContext;
@@ -157,7 +150,7 @@ void init_mlme_ext_timer(struct adapter *padapter)
{
	struct	mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv;

	_init_timer(&pmlmeext->survey_timer, padapter->pnetdev, _survey_timer_hdl, padapter);
	_init_timer(&pmlmeext->survey_timer, padapter->pnetdev, survey_timer_hdl, padapter);
	_init_timer(&pmlmeext->link_timer, padapter->pnetdev, _link_timer_hdl, padapter);
}