modemmanager: don't flag the 'device' option as 'device' type

Unlike other modem protocol handlers like the ones implemented by uqmi
or umbim, in the modemmanager protocol handler the 'device' option
does not specify a device node in /dev. Therefore, we shouldn't flag
the option as 'device' type (dt_type_device).

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
This commit is contained in:
Aleksander Morgado 2019-11-20 12:57:04 +01:00
parent a684cdbab0
commit ecad39fd60
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=modemmanager
PKG_VERSION:=1.12.0
PKG_RELEASE:=6
PKG_RELEASE:=7
PKG_SOURCE:=ModemManager-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://www.freedesktop.org/software/ModemManager

View file

@ -306,7 +306,7 @@ modemmanager_disconnected_method_common() {
proto_modemmanager_init_config() {
available=1
no_device=1
proto_config_add_string "device:device"
proto_config_add_string device
proto_config_add_string apn
proto_config_add_string username
proto_config_add_string password