From be28dc19c4c192fa633253a9e9c739d073ee37db Mon Sep 17 00:00:00 2001 From: Michael Pfeifroth Date: Thu, 17 Sep 2026 09:53:34 +0200 Subject: [PATCH] modemmanager: fix custom initial EPS bearer username The custom initial EPS bearer code uses init_username, which agrees with the documented UCI option. However, the option was registered and read as init_user, so init_username was discarded before the custom EPS bearer settings were passed to mmcli. Register and read the option consistently as init_username. Signed-off-by: Michael Pfeifroth --- net/modemmanager/Makefile | 2 +- net/modemmanager/files/lib/netifd/proto/modemmanager.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/net/modemmanager/Makefile b/net/modemmanager/Makefile index 33d519f65bc595..2537900eb6e31d 100644 --- a/net/modemmanager/Makefile +++ b/net/modemmanager/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=modemmanager PKG_VERSION:=1.24.0 -PKG_RELEASE:=13 +PKG_RELEASE:=14 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 d15c5bd83f5d24..9d9445516a87dc 100644 --- a/net/modemmanager/files/lib/netifd/proto/modemmanager.sh +++ b/net/modemmanager/files/lib/netifd/proto/modemmanager.sh @@ -287,7 +287,7 @@ proto_modemmanager_init_config() { proto_config_add_string init_iptype proto_config_add_string 'init_allowedauth:list(string)' proto_config_add_string init_password - proto_config_add_string init_user + proto_config_add_string init_username proto_config_add_string init_apn proto_config_add_defaults } @@ -588,10 +588,10 @@ proto_modemmanager_setup() { local init_epsbearer local init_iptype init_allowedauth - local init_password init_user init_apn + local init_password init_username init_apn json_get_vars init_epsbearer json_get_vars init_iptype init_allowedauth - json_get_vars init_password init_user init_apn + json_get_vars init_password init_username init_apn local address prefix gateway mtu dns1 dns2