Skip to content
Snippets Groups Projects
Commit 2afafe89 authored by Francesco Giancane's avatar Francesco Giancane Committed by David Cermak
Browse files

esp_modem.c: post PPP stop event when requested


When library users call esp_stop_ppp(), it is expected that the PPP link
is closed and the DCE is moved into command mode.

If the STOP event is not posted into the event loop, then the PPP stack
would not be turned off, resulting in the impossibility to switch into
command mode, as the modem is still sending PPP binary data.

Signed-off-by: default avatarFrancesco Giancane <francesco.giancane@accenture.com>

Merges https://github.com/espressif/esp-idf/pull/4642
parent e7c8a36d
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment