uqmi: don't block restart on failed registration
authorDavid Bauer <mail@david-bauer.net>
Sat, 7 Oct 2023 10:33:45 +0000 (12:33 +0200)
committerDavid Bauer <mail@david-bauer.net>
Tue, 31 Oct 2023 20:12:15 +0000 (21:12 +0100)
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 <mail@david-bauer.net>
package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh

index eab7f1ea13d45d33b7cd284c6f82865faf66be77..f4432b4fa33676e0bacc7e7e6e7a0244cc11c37d 100755 (executable)
@@ -247,7 +247,6 @@ proto_qmi_setup() {
                fi
 
                proto_notify_error "$interface" NETWORK_REGISTRATION_FAILED
-               proto_block_restart "$interface"
                return 1
        done