uqmi: use built-in command for data-link verification
authorKoen Vandeputte <koen.vandeputte@ncentric.com>
Thu, 15 Feb 2018 14:16:03 +0000 (15:16 +0100)
committerJohn Crispin <john@phrozen.org>
Sun, 18 Feb 2018 08:35:01 +0000 (09:35 +0100)
commitb3b16c8ce5c616a0d1f84c4263b4067ff099aa1e
tree98c0520fe3f7eee64295d41e657a9707a33d735d
parente9eb219e5a07f3e2284c1483da03d5accb130eac
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/Makefile
package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh