From 6b9b6fdace5b806c0021ea9ce78f3484a0f678ee Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Thu, 27 Mar 2025 16:19:45 +0100 Subject: [PATCH] modemmanager: add missing any option to allowedmode The 'mmcli' also understands the option 'any'. Signed-off-by: Florian Eckert --- net/modemmanager/Makefile | 2 +- net/modemmanager/files/lib/netifd/proto/modemmanager.sh | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/net/modemmanager/Makefile b/net/modemmanager/Makefile index 2eb06ab4b..1567e9274 100644 --- a/net/modemmanager/Makefile +++ b/net/modemmanager/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=modemmanager PKG_VERSION:=1.22.0 -PKG_RELEASE:=23 +PKG_RELEASE:=24 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://gitlab.freedesktop.org/mobile-broadband/ModemManager.git diff --git a/net/modemmanager/files/lib/netifd/proto/modemmanager.sh b/net/modemmanager/files/lib/netifd/proto/modemmanager.sh index 1d0211cf8..893b41751 100644 --- a/net/modemmanager/files/lib/netifd/proto/modemmanager.sh +++ b/net/modemmanager/files/lib/netifd/proto/modemmanager.sh @@ -684,6 +684,10 @@ proto_modemmanager_setup() { modemmanager_set_allowed_mode "$device" \ "$interface" "5g" ;; + "any") + modemmanager_set_allowed_mode "$device" \ + "$interface" "any" + ;; *) modemmanager_set_preferred_mode "$device" \ "$interface" "${allowedmode}" "${preferredmode}"