git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git]
/
drivers
/
net
/
ppp_async.c
diff --git
a/drivers/net/ppp_async.c
b/drivers/net/ppp_async.c
index
23659fd
..
aa6540b
100644
(file)
--- a/
drivers/net/ppp_async.c
+++ b/
drivers/net/ppp_async.c
@@
-30,7
+30,6
@@
#include <linux/ppp_channel.h>
#include <linux/spinlock.h>
#include <linux/init.h>
#include <linux/ppp_channel.h>
#include <linux/spinlock.h>
#include <linux/init.h>
-#include <linux/jiffies.h>
#include <asm/uaccess.h>
#include <asm/string.h>
#include <asm/uaccess.h>
#include <asm/string.h>
@@
-571,7
+570,7
@@
ppp_async_encode(struct asyncppp *ap)
* character if necessary.
*/
if (islcp || flag_time == 0
* character if necessary.
*/
if (islcp || flag_time == 0
- ||
time_after_eq(jiffies, ap->last_xmit + flag_time)
)
+ ||
jiffies - ap->last_xmit >= flag_time
)
*buf++ = PPP_FLAG;
ap->last_xmit = jiffies;
fcs = PPP_INITFCS;
*buf++ = PPP_FLAG;
ap->last_xmit = jiffies;
fcs = PPP_INITFCS;