modemmanager: add missing any option to allowedmode

The 'mmcli' also understands the option 'any'.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
Florian Eckert
2025-03-27 16:19:45 +01:00
committed by Florian Eckert
parent 9ebb457377
commit 6b9b6fdace
2 changed files with 5 additions and 1 deletions

View 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}"