uqmi: use built-in command for data-link verification
authorKoen Vandeputte <koen.vandeputte@ncentric.com>
Wed, 7 Feb 2018 12:23:28 +0000 (13:23 +0100)
committerJohn Crispin <john@phrozen.org>
Tue, 13 Feb 2018 09:01:53 +0000 (10:01 +0100)
commitda8990e717e1e8704e08c1f75484352397c22231
tree9273888e654fdccbfc8aca2304ee57c0b8239ef8
parent3508f8abb492914b6b287b5d60084acb8aff34d2
uqmi: use built-in command for data-link verification

uqmi contains a command for directly querying the modem if there
is a valid data connection, so let's use it.

This avoids the cases were all previous tests are succesful, but the
actual data link is not up for some reasons, leading to states were we
thought the link was up when it actually wasn't ..

Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh