modemmanager: report network initiated disconnections to netifd
authorAleksander Morgado <aleksander@aleksander.es>
Wed, 4 May 2022 12:01:57 +0000 (14:01 +0200)
committerRosen Penev <rosenp@gmail.com>
Sun, 15 May 2022 04:39:50 +0000 (21:39 -0700)
commitbc754f31cfdb004eefa43038f8f0827922107fc6
treea4a1ce4c8932ffedbecf9ac72065c27eb70ad98d
parente430420aa176af672e913a2e50c5911e3ea70ef3
modemmanager: report network initiated disconnections to netifd

The new connection dispatcher scripts support integrated in
ModemManager 1.18.8 allows us to provide a openwrt-specific dispatcher
script used to report netifd that the underlying network connection is
down.

See also https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/merge_requests/775

Fixes https://github.com/openwrt/openwrt/issues/8368
Fixes https://github.com/openwrt/packages/issues/14096

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
net/modemmanager/Makefile
net/modemmanager/files/10-report-down [new file with mode: 0755]