diff options
author | Antonio Murdaca <antoniomurdaca@gmail.com> | 2015-06-05 19:58:38 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-06-08 05:22:49 +0300 |
commit | addae62e73cc7c2b0277d5069649be5594f0a5c8 (patch) | |
tree | f80f9128a4b914f9dd51d77de7d68ead0c167601 /drivers | |
parent | 34270f5f6f1bcc2dc9d2e5aa28147667425cc424 (diff) | |
download | linux-addae62e73cc7c2b0277d5069649be5594f0a5c8.tar.xz |
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>
Diffstat (limited to 'drivers')
-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; } |