esp32/network_ppp: Use thread-safe API for PPPoS input.
A small follow-up to 3b1e22c669, in which
the entire PPP implementation was reworked to more closely resemble the
extmod version. One of the differences between extmod and the ESP32 port
is that the ESP32 port uses the thread-safe API, but in that changeset
the PPP input function was accidentally changed to use the non-safe API.
Signed-off-by: Daniël van de Giessen <daniel@dvdgiessen.nl>
This commit is contained in:
parent
1273751a3b
commit
361c615f3e
1 changed files with 1 additions and 1 deletions
|
|
@ -163,7 +163,7 @@ static mp_obj_t network_ppp_poll(size_t n_args, const mp_obj_t *args) {
|
|||
}
|
||||
mp_printf(&mp_plat_print, ")\n");
|
||||
#endif
|
||||
pppos_input(self->pcb, (u8_t *)buf, len);
|
||||
pppos_input_tcpip(self->pcb, (u8_t *)buf, len);
|
||||
total_len += len;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue