diff options
author | Daniël van de Giessen <daniel@dvdgiessen.nl> | 2025-07-10 11:05:19 +0200 |
---|---|---|
committer | Damien George <damien@micropython.org> | 2025-08-11 12:38:37 +1000 |
commit | 361c615f3e272df012fc18315e226f9131d25c05 (patch) | |
tree | 6ce482fb458992c8908df952ebab7a388d9620ea | |
parent | 1273751a3b6f8a14679378e2e082e03979cb2ea8 (diff) |
esp32/network_ppp: Use thread-safe API for PPPoS input.
A small follow-up to 3b1e22c66947271e8b60eddf4e8aa6dadc6d9a7d, 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>
-rw-r--r-- | ports/esp32/network_ppp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/esp32/network_ppp.c b/ports/esp32/network_ppp.c index 8b700c98e..77e4385ca 100644 --- a/ports/esp32/network_ppp.c +++ b/ports/esp32/network_ppp.c @@ -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; } |