提交 c07036f1 编写于 作者: K Karim Eshapa 提交者: Kalle Valo

rsi: rsi_91x_core: Use time_after time comparison

Use time_after kernel macro for time comparison.
Signed-off-by: NKarim Eshapa <karim.eshapa@gmail.com>
Signed-off-by: NKalle Valo <kvalo@codeaurora.org>
上级 5578b1ff
......@@ -306,7 +306,7 @@ void rsi_core_qos_processor(struct rsi_common *common)
tstamp_2 = jiffies;
mutex_unlock(&common->tx_rxlock);
if (tstamp_2 > tstamp_1 + (300 * HZ / 1000))
if (time_after(tstamp_2, tstamp_1 + (300 * HZ) / 1000))
schedule();
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册