mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-01 04:12:07 +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:
|
++ Bugfixes:
|
||||||
|
|
||||||
|
2009-08-23 Simon Goldschmidt
|
||||||
|
* ppp.c: bug #27266: wait-state debug message in pppMain occurs every ms
|
||||||
|
|
||||||
2009-08-23 Simon Goldschmidt
|
2009-08-23 Simon Goldschmidt
|
||||||
* udp.c: bug #27252: Address pointer invalid after freeing pbuf in UDP
|
* udp.c: bug #27252: Address pointer invalid after freeing pbuf in UDP
|
||||||
receive callback
|
receive callback
|
||||||
|
@ -1537,8 +1537,8 @@ pppMain(void *arg)
|
|||||||
if(c > 0) {
|
if(c > 0) {
|
||||||
pppInProc(pd, p->payload, c);
|
pppInProc(pd, p->payload, c);
|
||||||
} else {
|
} else {
|
||||||
PPPDEBUG((LOG_DEBUG, "pppMain: unit %d sio_read len=%d returned %d\n", pd, p->len, c));
|
/* nothing received, give other tasks a chance to run */
|
||||||
sys_msleep(1); /* give other tasks a chance to run */
|
sys_msleep(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user