From 6e77755115081241f2ad0a59df3b73b6347b31de Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Wed, 9 Aug 2023 13:02:02 +0200 Subject: [PATCH] modemmanager: remove unneeded teardown error reporting Teardown error reporting is not needed, bacause it overrides init error reporting. Signed-off-by: Florian Eckert (cherry picked from commit 5fa043000fdf97fda36d06cac005209fcda5910e) --- net/modemmanager/Makefile | 2 +- net/modemmanager/files/modemmanager.proto | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/net/modemmanager/Makefile b/net/modemmanager/Makefile index ea0eb58ce5..fc372f96f3 100644 --- a/net/modemmanager/Makefile +++ b/net/modemmanager/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=modemmanager PKG_SOURCE_VERSION:=1.20.6 -PKG_RELEASE:=9 +PKG_RELEASE:=10 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://gitlab.freedesktop.org/mobile-broadband/ModemManager.git diff --git a/net/modemmanager/files/modemmanager.proto b/net/modemmanager/files/modemmanager.proto index e022f5b266..fbcf3c5402 100755 --- a/net/modemmanager/files/modemmanager.proto +++ b/net/modemmanager/files/modemmanager.proto @@ -327,7 +327,6 @@ modemmanager_disconnected_method_common() { local interface="$1" echo "running disconnection (common)" - proto_notify_error "${interface}" MM_DISCONNECT_IN_PROGRESS proto_init_update "*" 0 proto_send_update "${interface}" @@ -561,7 +560,6 @@ proto_modemmanager_teardown() { # disable mmcli --modem="${device}" --disable - proto_notify_error "${interface}" MM_MODEM_DISABLED # low power, only if requested [ "${lowpower:-0}" -lt 1 ] || -- 2.30.2