modemmanager: add missing any option to allowedmode
authorFlorian Eckert <[email protected]>
Thu, 27 Mar 2025 15:19:45 +0000 (16:19 +0100)
committerFlorian Eckert <[email protected]>
Thu, 10 Apr 2025 07:33:58 +0000 (09:33 +0200)
The 'mmcli' also understands the option 'any'.

Signed-off-by: Florian Eckert <[email protected]>
net/modemmanager/Makefile
net/modemmanager/files/lib/netifd/proto/modemmanager.sh

index 2eb06ab4bb987375a8bfe043344a4fb1c22b6653..1567e92741439ec0c28e8023533c9c3828a78dfd 100644 (file)
@@ -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
index 1d0211cf85193d86339305555955464fc360ee7d..893b41751a44ff7e402104bbd8ec1e65d8b73b8a 100644 (file)
@@ -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}"