projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5578b1f
)
rsi: rsi_91x_core: Use time_after time comparison
author
Karim Eshapa
<karim.eshapa@gmail.com>
Mon, 8 May 2017 22:34:10 +0000
(
00:34
+0200)
committer
Kalle Valo
<kvalo@codeaurora.org>
Wed, 24 May 2017 13:39:41 +0000
(16:39 +0300)
Use time_after kernel macro for time comparison.
Signed-off-by: Karim Eshapa <karim.eshapa@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/rsi/rsi_91x_core.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/rsi/rsi_91x_core.c
b/drivers/net/wireless/rsi/rsi_91x_core.c
index f3d3995d8f6b4c8ada23a5f25c6ad8035b108970..68f04a76769e246270ac7d88657d9f4ad97da45b 100644
(file)
--- a/
drivers/net/wireless/rsi/rsi_91x_core.c
+++ b/
drivers/net/wireless/rsi/rsi_91x_core.c
@@
-306,7
+306,7
@@
void rsi_core_qos_processor(struct rsi_common *common)
tstamp_2 = jiffies;
mutex_unlock(&common->tx_rxlock);
- if (t
stamp_2 > tstamp_1 + (300 * HZ
/ 1000))
+ if (t
ime_after(tstamp_2, tstamp_1 + (300 * HZ)
/ 1000))
schedule();
}
}