modemmanager: do not disable modem on reconnect
authorFlorian Eckert <fe@dev.tdt.de>
Tue, 4 Feb 2025 11:36:51 +0000 (12:36 +0100)
committerFlorian Eckert <Eckert.Florian@googlemail.com>
Wed, 12 Feb 2025 15:52:16 +0000 (16:52 +0100)
commit434c353e62a6bcd697e991f76658feae10a67ade
tree91fb436908632cc9f9b441305203542cfb9b4e3b
parentf9dbeea92b3e7aa47bf11843c32d7baaf6224cd5
modemmanager: do not disable modem on reconnect

If the modem loses the connection, an attempt is made to re-establish the
connection via the report-down script.

Until now, the modem was disabled when the modem processed the teardown of
the modemmanager protohandler. The immediate up events of netifd renables
the modem right away. This takes time, which is not necessary.

This commit changes the behavior so that the modem is not disabled when
the modemmanager is disconnected via the report-down script.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
net/modemmanager/Makefile
net/modemmanager/files/lib/netifd/proto/modemmanager.sh
net/modemmanager/files/usr/lib/ModemManager/connection.d/10-report-down