|
@@ -87,7 +87,7 @@ static inline void _init_timer(struct timer_list *ptimer,
|
|
|
|
|
|
|
|
static inline void _set_timer(struct timer_list *ptimer, u32 delay_time)
|
|
static inline void _set_timer(struct timer_list *ptimer, u32 delay_time)
|
|
|
{
|
|
{
|
|
|
- mod_timer(ptimer , (jiffies+(delay_time*HZ/1000)));
|
|
|
|
|
|
|
+ mod_timer(ptimer , (jiffies+msecs_to_jiffies(delay_time)));
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
#define RTW_TIMER_HDL_ARGS void *FunctionContext
|
|
#define RTW_TIMER_HDL_ARGS void *FunctionContext
|