mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-04 14:29:39 +00:00
Fixed bug #27266: wait-state debug message in pppMain occurs every ms
This commit is contained in:
parent
362a295e06
commit
ce3082976c
@ -25,6 +25,9 @@ HISTORY
|
||||
|
||||
++ Bugfixes:
|
||||
|
||||
2009-08-23 Simon Goldschmidt
|
||||
* ppp.c: bug #27266: wait-state debug message in pppMain occurs every ms
|
||||
|
||||
2009-08-23 Simon Goldschmidt
|
||||
* udp.c: bug #27252: Address pointer invalid after freeing pbuf in UDP
|
||||
receive callback
|
||||
|
@ -1537,8 +1537,8 @@ pppMain(void *arg)
|
||||
if(c > 0) {
|
||||
pppInProc(pd, p->payload, c);
|
||||
} else {
|
||||
PPPDEBUG((LOG_DEBUG, "pppMain: unit %d sio_read len=%d returned %d\n", pd, p->len, c));
|
||||
sys_msleep(1); /* give other tasks a chance to run */
|
||||
/* nothing received, give other tasks a chance to run */
|
||||
sys_msleep(1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user