Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
rtw_free_cmd_obj(pcmd);
}
- flush_signals_thread();
+ if (signal_pending(current))
+ flush_signals(current);
goto _next;
}
(pmptx->count == pmptx->sended))
goto exit;
- flush_signals_thread();
+ if (signal_pending(current))
+ flush_signals(current);
}
exit:
u32 rtw_ms_to_systime(u32 ms);
s32 rtw_get_passing_time_ms(u32 start);
-static inline void flush_signals_thread(void)
-{
- if (signal_pending(current))
- flush_signals(current);
-}
-
struct rtw_netdev_priv_indicator {
void *priv;
u32 sizeof_priv;