Skip to content
Commit 52be26a8 authored by Bjarki Arge Andreasen's avatar Bjarki Arge Andreasen Committed by Henrik Brix Andersen
Browse files

net: l2: ppp: Patch carrier lost and L2 enable/disable



L2 PPP is not able to handle the carrier being lost gracefully,
nor is it able to gracefully close the PPP connection when
net_if_down() is called.

This patch refactors the L2 PPP module to use the carrier state
to either properly close or simply terminate the PPP connection.

Additionally, it ensures that the PPP session is closed properly
before calling ppp->stop().

Signed-off-by: default avatarBjarki Arge Andreasen <bjarki@arge-andreasen.me>
parent c62dbb13
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment