Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 4901
b: refs/heads/master
c: 4851d3a
h: refs/heads/master
i:
  4899: dcb9f5a
v: v3
  • Loading branch information
Marcelo Feitoza Parisi authored and David S. Miller committed Jul 15, 2005
1 parent 617df01 commit dde7ea2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a8178345c4f12f4413e5620fc86a6b0381c41bc9
refs/heads/master: 4851d3aaa550b7b62553dd19fcadc7b586da4f17
3 changes: 2 additions & 1 deletion trunk/drivers/net/pcmcia/smc91c92_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
#include <linux/ioport.h>
#include <linux/ethtool.h>
#include <linux/mii.h>
#include <linux/jiffies.h>

#include <pcmcia/cs_types.h>
#include <pcmcia/cs.h>
Expand Down Expand Up @@ -2092,7 +2093,7 @@ static void media_check(u_long arg)
}

/* Ignore collisions unless we've had no rx's recently */
if (jiffies - dev->last_rx > HZ) {
if (time_after(jiffies, dev->last_rx + HZ)) {
if (smc->tx_err || (smc->media_status & EPH_16COL))
media |= EPH_16COL;
}
Expand Down

0 comments on commit dde7ea2

Please sign in to comment.