Browse Source

Fixed bug #27266: wait-state debug message in pppMain occurs every ms

STABLE-2_1_x
goldsimon 17 years ago
parent
commit
ce3082976c
  1. 3
      CHANGELOG
  2. 4
      src/netif/ppp/ppp.c

3
CHANGELOG

@ -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

4
src/netif/ppp/ppp.c

@ -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…
Cancel
Save