modemmanager: allow empty initial EPS bearer APN

This commit removes the non-empty APN requirement for initial EPS
bearer. An empty APN value is valid and means that the modem will use a
network provided APN offered by the operator.

Signed-off-by: Simonas Tamošaitis <simsasss@gmail.com>
This commit is contained in:
Simonas Tamošaitis
2025-10-23 20:25:33 +03:00
committed by Florian Eckert
parent dfe2967675
commit 83f3e116b1
2 changed files with 1 additions and 8 deletions

View File

@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=modemmanager PKG_NAME:=modemmanager
PKG_VERSION:=1.24.0 PKG_VERSION:=1.24.0
PKG_RELEASE:=7 PKG_RELEASE:=8
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://gitlab.freedesktop.org/mobile-broadband/ModemManager.git PKG_SOURCE_URL:=https://gitlab.freedesktop.org/mobile-broadband/ModemManager.git

View File

@@ -526,13 +526,6 @@ modemmanager_init_epsbearer() {
local connectargs="$3" local connectargs="$3"
local apn="$4" local apn="$4"
[ "$eps" != 'none' ] && [ -z "${apn}" ] && {
echo "No '$eps' init eps bearer apn configured"
proto_notify_error "${interface}" MM_INIT_EPS_BEARER_APN_NOT_CONFIGURED
proto_block_restart "${interface}"
return 1
}
if [ "$eps" = "none" ]; then if [ "$eps" = "none" ]; then
echo "Deleting inital EPS bearer..." echo "Deleting inital EPS bearer..."
else else