Skip to content

port-serial: do not set forced close on port hangup

Do not set the forced close flag when receiving a hangup from the serial port. It is possible to receive it in some cases, like when pppd has not properly restored the port settings and we are not in CLOCAL mode. If that is the case, allowing to re-open the port later and configure it with the settings we need seems more robust than preventing it.

Merge request reports