staging: rtl8188eu: Remove wrapper function _addba_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:
navin patidar 2014-07-28 23:11:28 +05:30 committed by Greg Kroah-Hartman
parent b148cdd7b6
commit fe8717062d
3 changed files with 4 additions and 9 deletions

View File

@ -4910,8 +4910,9 @@ void link_timer_hdl(void *function_context)
return;
}
void addba_timer_hdl(struct sta_info *psta)
void addba_timer_hdl(void *function_context)
{
struct sta_info *psta = (struct sta_info *)function_context;
struct ht_priv *phtpriv;
if (!psta)

View File

@ -648,7 +648,7 @@ void linked_status_chk(struct adapter *padapter);
void survey_timer_hdl (void *function_context);
void link_timer_hdl (void *funtion_context);
void addba_timer_hdl(struct sta_info *psta);
void addba_timer_hdl(void *function_context);
#define set_survey_timer(mlmeext, ms) \
do { \

View File

@ -129,15 +129,9 @@ void rtw_report_sec_ie(struct adapter *adapter, u8 authmode, u8 *sec_ie)
}
}
static void _addba_timer_hdl(void *FunctionContext)
{
struct sta_info *psta = (struct sta_info *)FunctionContext;
addba_timer_hdl(psta);
}
void init_addba_retry_timer(struct adapter *padapter, struct sta_info *psta)
{
_init_timer(&psta->addba_retry_timer, padapter->pnetdev, _addba_timer_hdl, psta);
_init_timer(&psta->addba_retry_timer, padapter->pnetdev, addba_timer_hdl, psta);
}
void init_mlme_ext_timer(struct adapter *padapter)