From: David Bauer Date: Sat, 7 Oct 2023 10:33:45 +0000 (+0200) Subject: uqmi: don't block restart on failed registration X-Git-Tag: v24.10.0-rc1~3890 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ead0c1934855ad3a1a0c5888946c99b21042ba8c;p=thirdparty%2Fopenwrt.git uqmi: don't block restart on failed registration Failing the registration does not necessarily mean we can not bring this interface up. For example, roaming SIM cards are possibly steered by the home-operator. Don't block restart of the QMI interface in this case. Signed-off-by: David Bauer --- diff --git a/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh b/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh index eab7f1ea13d..f4432b4fa33 100755 --- a/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh +++ b/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh @@ -247,7 +247,6 @@ proto_qmi_setup() { fi proto_notify_error "$interface" NETWORK_REGISTRATION_FAILED - proto_block_restart "$interface" return 1 done