Message ID | 1518704164-22198-4-git-send-email-koen.vandeputte@ncentric.com |
---|---|
State | Accepted |
Delegated to: | John Crispin |
Headers | show
Return-Path: <lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="S8wgz9Jf"; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=ncentric.com header.i=@ncentric.com header.b="pVjaMAGT"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3zhyzx375wz9t1t for <incoming@patchwork.ozlabs.org>; Fri, 16 Feb 2018 01:18:21 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:References: In-Reply-To:Message-Id:Date:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=fyKlhn6pjpQR4I4rcgh37ONUuKU56S8ZmagrYi61LFM=; b=S8wgz9JfdGv87n +cwCL4KDBB+MM+Jln9lhmcbQO0yvx/ewYQiQP283Z6Y8J6L0cu9RbWdzwHSbG/olMNljhJO91B6c0 duXLMTwrYte1k0f6aCsgFB2GkCiHz1uNYndSfyecFY2PMTal02DZmpR9SVtmhjYaGipzDOd0Cyyuc fS9z9M0eNDSH2se0fv2qM1YjX8j+onSf909Mi8KxaAIEemZ4/cgKJt5GCGVYdttYcy3SdV/BjaM+M NU31lQxCpaVfcH8m+2TdxfMMY4uDOzOQUNYAHjWCxcDMbcU9nZJnhC5+M+kTdHVRgWeWPx2OLfF/Y gvXI21WbJI9sHP7IPAQw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1emKMb-00085d-Pd; Thu, 15 Feb 2018 14:18:17 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1emKLH-00072v-8R for lede-dev@lists.infradead.org; Thu, 15 Feb 2018 14:16:57 +0000 Received: by mail-wm0-x242.google.com with SMTP id t74so1108701wme.3 for <lede-dev@lists.infradead.org>; Thu, 15 Feb 2018 06:16:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ncentric.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=YLj3WnhsG8BJVc122eYeyjvaNcDLozXt1gb8Xu/i024=; b=pVjaMAGTnDl6O6GThVAePkitUJJlm8VF+DMVieQ57u4O4nbt42r7mnKndkibXDPFAa WrdGqeOjtP2115EbrusmISxjnVZMYlMZz9Ejp8TD+f9wwtkfHWQHDXG4ZBPJzvoLXVjO 3QqpYjOB3u43BxzgqKWZZxNxequG9U4c9q0kc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=YLj3WnhsG8BJVc122eYeyjvaNcDLozXt1gb8Xu/i024=; b=tVswWdZPP/kL3KN7g/oK1jCxTFrnPxFtchMGMBAqX3kCbUqIy1WgqxAbApJCqj/rS5 daV977+T39UEEaBKFHzZSxDqJwdeKmYBNpILr07TA7Sb3igEI/CBTWjo9/gjNbsnDh1w JUhH6Clj7h5RWHPY18LBmro+IzrnXENgOVeO79AGCuCSrEOGPDdgxSUVBcQa3LGzTtpc stwmOdV/nH0fVGzBye/HXCczFJqcPVyL3pdfisA2Or5oP1TUXMe1L8NUDjHEWggFj2xL l7m3wYFU3N6pASp/3Hwn2YFxhAZNetSQOYjh/M5u/B9fWq0C1oHK5E2FRRiato9ZtzSa sazw== X-Gm-Message-State: APf1xPCony3tajRtoCxYgbejgkTnwDH1zyoOiMTqYQWPODM5ef3DWMsT Lv3ex52L1OLInyLO0eS9qJazF8CH49s= X-Google-Smtp-Source: AH8x2263UcfxTEswPT8iXBePWX1uYiZ6DVj1hlI8jwQpFu/HgjHXDgqoIlRPT5V0CxMUfN7xbl+SKQ== X-Received: by 10.80.151.198 with SMTP id f6mr3612723edb.106.1518704202972; Thu, 15 Feb 2018 06:16:42 -0800 (PST) Received: from localhost.localdomain (d515300d8.static.telenet.be. [81.83.0.216]) by smtp.googlemail.com with ESMTPSA id d6sm3462692edm.52.2018.02.15.06.16.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 15 Feb 2018 06:16:42 -0800 (PST) From: Koen Vandeputte <koen.vandeputte@ncentric.com> To: lede-dev@lists.infradead.org Date: Thu, 15 Feb 2018 15:15:58 +0100 Message-Id: <1518704164-22198-4-git-send-email-koen.vandeputte@ncentric.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1518704164-22198-1-git-send-email-koen.vandeputte@ncentric.com> References: <1518704164-22198-1-git-send-email-koen.vandeputte@ncentric.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180215_061655_401711_A1E1BC03 X-CRM114-Status: GOOD ( 10.51 ) X-Spam-Score: -2.0 (--) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-2.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [2a00:1450:400c:c09:0:0:0:242 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain Subject: [LEDE-DEV] [PATCH 3/9] net: uqmi: fix blocking in endless loops when unplugging device X-BeenThere: lede-dev@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <lede-dev.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/lede-dev>, <mailto:lede-dev-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/lede-dev/> List-Post: <mailto:lede-dev@lists.infradead.org> List-Help: <mailto:lede-dev-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/lede-dev>, <mailto:lede-dev-request@lists.infradead.org?subject=subscribe> Cc: leventelist@gmail.com, Alexandru Ardelean <ardeleanalex@gmail.com>, lynxis@fe80.eu, john@phrozen.org, bjorn@mork.no, nbd@nbd.name MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Lede-dev" <lede-dev-bounces@lists.infradead.org> Errors-To: lede-dev-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
Series |
uqmi: Add raw-ip mode support for 17.01 branch
|
expand
|
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 6f11933a9e51..9c953ea69757 100755 --- a/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh +++ b/package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh @@ -65,6 +65,7 @@ proto_qmi_setup() { [ -n "$delay" ] && sleep "$delay" while uqmi -s -d "$device" --get-pin-status | grep '"UIM uninitialized"' > /dev/null; do + [ -e "$device" ] || return 1 sleep 1; done @@ -102,6 +103,7 @@ proto_qmi_setup() { echo "Waiting for network registration" while uqmi -s -d "$device" --get-serving-system | grep '"searching"' > /dev/null; do + [ -e "$device" ] || return 1 sleep 5; done