PPP, PPP_MAXIDLEFLAG is now in ms instead of jiffies

Jiffies isn't really a humanly readable value and it means the default
PPP_MAXIDLEFLAG period depends on the platform "jiffies" frequency,
which isn't nice.

Change PPP_MAXIDLEFLAG to use ms instead of jiffies, the current
PPP_MAXIDLEFLAG default (100 ms), looks like a sane value and is
left unchanged.
This commit is contained in:
Sylvain Rochet
2015-09-26 23:01:15 +02:00
parent ba41685353
commit 9e0202b38f
3 changed files with 6 additions and 4 deletions

View File

@@ -2394,7 +2394,7 @@
#endif
/**
* PPP_MAXIDLEFLAG: Max Xmit idle time (in jiffies) before resend flag char.
* PPP_MAXIDLEFLAG: Max Xmit idle time (in ms) before resend flag char.
*/
#ifndef PPP_MAXIDLEFLAG
#define PPP_MAXIDLEFLAG 100