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:
parent
9ebb457377
commit
6b9b6fdace
|
@ -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
|
||||
|
|
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue