static void _survey_timer_hdl(struct timer_list *t) #endif { #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 15, 0) _adapter *padapter = (_adapter *)FunctionContext; #else _adapter *padapter = from_timer(padapter, t, mlmeextpriv.survey_timer); #endif survey_timer_hdl(padapter); }
void _survey_timer_hdl (void *FunctionContext) { _adapter *padapter = (_adapter *)FunctionContext; survey_timer_hdl(padapter); }
static void _survey_timer_hdl(void *FunctionContext) { struct adapter *padapter = (struct adapter *)FunctionContext; survey_timer_hdl(padapter); }