Skip to content

Commit 1329f70

Browse files
committed
esp32/network_ppp: Use thread-safe API for PPPoS input.
A small follow-up to 3b1e22c, 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>
1 parent df05cae commit 1329f70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/esp32/network_ppp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ static mp_obj_t network_ppp_poll(size_t n_args, const mp_obj_t *args) {
163163
}
164164
mp_printf(&mp_plat_print, ")\n");
165165
#endif
166-
pppos_input(self->pcb, (u8_t *)buf, len);
166+
pppos_input_tcpip(self->pcb, (u8_t *)buf, len);
167167
total_len += len;
168168
}
169169

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy