mirror of
https://github.com/openwrt/packages.git
synced 2025-12-10 12:41:22 +00:00
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:
committed by
Florian Eckert
parent
dfe2967675
commit
83f3e116b1
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=modemmanager
|
||||
PKG_VERSION:=1.24.0
|
||||
PKG_RELEASE:=7
|
||||
PKG_RELEASE:=8
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://gitlab.freedesktop.org/mobile-broadband/ModemManager.git
|
||||
|
||||
@@ -526,13 +526,6 @@ modemmanager_init_epsbearer() {
|
||||
local connectargs="$3"
|
||||
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
|
||||
echo "Deleting inital EPS bearer..."
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user