Skip to content

Commit 83f3e11

Browse files
simsasssfeckert
authored andcommitted
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>
1 parent dfe2967 commit 83f3e11

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

net/modemmanager/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
99

1010
PKG_NAME:=modemmanager
1111
PKG_VERSION:=1.24.0
12-
PKG_RELEASE:=7
12+
PKG_RELEASE:=8
1313

1414
PKG_SOURCE_PROTO:=git
1515
PKG_SOURCE_URL:=https://gitlab.freedesktop.org/mobile-broadband/ModemManager.git

net/modemmanager/files/lib/netifd/proto/modemmanager.sh

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -526,13 +526,6 @@ modemmanager_init_epsbearer() {
526526
local connectargs="$3"
527527
local apn="$4"
528528

529-
[ "$eps" != 'none' ] && [ -z "${apn}" ] && {
530-
echo "No '$eps' init eps bearer apn configured"
531-
proto_notify_error "${interface}" MM_INIT_EPS_BEARER_APN_NOT_CONFIGURED
532-
proto_block_restart "${interface}"
533-
return 1
534-
}
535-
536529
if [ "$eps" = "none" ]; then
537530
echo "Deleting inital EPS bearer..."
538531
else

0 commit comments

Comments
 (0)