mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
modemmanager: flag as available and no_device when initializing
Otherwise, if the modem is reseted, netifd will think that the device is gone forever. Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
This commit is contained in:
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=modemmanager
|
PKG_NAME:=modemmanager
|
||||||
PKG_VERSION:=1.12.0
|
PKG_VERSION:=1.12.0
|
||||||
PKG_RELEASE:=4
|
PKG_RELEASE:=5
|
||||||
|
|
||||||
PKG_SOURCE:=ModemManager-$(PKG_VERSION).tar.xz
|
PKG_SOURCE:=ModemManager-$(PKG_VERSION).tar.xz
|
||||||
PKG_SOURCE_URL:=https://www.freedesktop.org/software/ModemManager
|
PKG_SOURCE_URL:=https://www.freedesktop.org/software/ModemManager
|
||||||
|
|||||||
@@ -304,6 +304,8 @@ modemmanager_disconnected_method_common() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
proto_modemmanager_init_config() {
|
proto_modemmanager_init_config() {
|
||||||
|
available=1
|
||||||
|
no_device=1
|
||||||
proto_config_add_string "device:device"
|
proto_config_add_string "device:device"
|
||||||
proto_config_add_string apn
|
proto_config_add_string apn
|
||||||
proto_config_add_string username
|
proto_config_add_string username
|
||||||
|
|||||||
Reference in New Issue
Block a user