forked from Minki/linux
staging: rtl8188eu: Remove wrapper function _link_timer_hdl()
Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
0120668adc
commit
b148cdd7b6
@ -4873,8 +4873,9 @@ exit_survey_timer_hdl:
|
||||
return;
|
||||
}
|
||||
|
||||
void link_timer_hdl(struct adapter *padapter)
|
||||
void link_timer_hdl(void *function_context)
|
||||
{
|
||||
struct adapter *padapter = (struct adapter *)function_context;
|
||||
struct mlme_ext_priv *pmlmeext = &padapter->mlmeextpriv;
|
||||
struct mlme_ext_info *pmlmeinfo = &(pmlmeext->mlmext_info);
|
||||
|
||||
|
@ -647,7 +647,7 @@ void mlmeext_sta_add_event_callback(struct adapter *padapter,
|
||||
void linked_status_chk(struct adapter *padapter);
|
||||
|
||||
void survey_timer_hdl (void *function_context);
|
||||
void link_timer_hdl (struct adapter *padapter);
|
||||
void link_timer_hdl (void *funtion_context);
|
||||
void addba_timer_hdl(struct sta_info *psta);
|
||||
|
||||
#define set_survey_timer(mlmeext, ms) \
|
||||
|
@ -129,12 +129,6 @@ void rtw_report_sec_ie(struct adapter *adapter, u8 authmode, u8 *sec_ie)
|
||||
}
|
||||
}
|
||||
|
||||
static void _link_timer_hdl(void *FunctionContext)
|
||||
{
|
||||
struct adapter *padapter = (struct adapter *)FunctionContext;
|
||||
link_timer_hdl(padapter);
|
||||
}
|
||||
|
||||
static void _addba_timer_hdl(void *FunctionContext)
|
||||
{
|
||||
struct sta_info *psta = (struct sta_info *)FunctionContext;
|
||||
@ -151,7 +145,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->link_timer, padapter->pnetdev, _link_timer_hdl, padapter);
|
||||
_init_timer(&pmlmeext->link_timer, padapter->pnetdev, link_timer_hdl, padapter);
|
||||
}
|
||||
|
||||
#ifdef CONFIG_88EU_AP_MODE
|
||||
|
Loading…
Reference in New Issue
Block a user