From ee85b4850eba69528d478dcfffbde97c841725f7 Mon Sep 17 00:00:00 2001 From: Christian B Date: Sun, 17 Dec 2017 12:02:26 +0100 Subject: [PATCH] Update osdep_service_linux.h --- include/osdep_service_linux.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/osdep_service_linux.h b/include/osdep_service_linux.h index 342c2aa..b2410f2 100644 --- a/include/osdep_service_linux.h +++ b/include/osdep_service_linux.h @@ -269,14 +269,13 @@ __inline static void rtw_list_delete(_list *plist) } #define RTW_TIMER_HDL_ARGS void *FunctionContext -#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 15, 0) __inline static void _init_timer(_timer *ptimer, _nic_hdl nic_hdl, void *pfunc, void *cntx) { + /* setup_timer(ptimer, pfunc,(u32)cntx); */ ptimer->function = pfunc; ptimer->data = (unsigned long)cntx; init_timer(ptimer); } -#endif __inline static void _set_timer(_timer *ptimer, u32 delay_time) {