diff options
author | Antonio Murdaca <antoniomurdaca@gmail.com> | 2015-06-05 18:58:38 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-07 19:22:49 -0700 |
commit | addae62e73cc7c2b0277d5069649be5594f0a5c8 (patch) | |
tree | f80f9128a4b914f9dd51d77de7d68ead0c167601 | |
parent | 34270f5f6f1bcc2dc9d2e5aa28147667425cc424 (diff) |
ethernet: micrel: use time_is_before_eq_jiffies
use time_is_before_eq_jiffies macro for time comparison
Signed-off-by: Antonio Murdaca <antonio.murdaca@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/ethernet/micrel/ksz884x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/micrel/ksz884x.c b/drivers/net/ethernet/micrel/ksz884x.c index 48d2aecb0da9..75dc46c5fca2 100644 --- a/drivers/net/ethernet/micrel/ksz884x.c +++ b/drivers/net/ethernet/micrel/ksz884x.c @@ -6689,7 +6689,7 @@ static void mib_monitor(unsigned long ptr) /* This is used to verify Wake-on-LAN is working. */ if (hw_priv->pme_wait) { - if (hw_priv->pme_wait <= jiffies) { + if (time_is_before_eq_jiffies(hw_priv->pme_wait)) { hw_clr_wol_pme_status(&hw_priv->hw); hw_priv->pme_wait = 0; } |