diff options
author | Thomas Equeter <tequeter@users.noreply.github.com> | 2018-08-16 21:39:05 +0200 |
---|---|---|
committer | Koen Vandeputte <koen.vandeputte@ncentric.com> | 2018-08-30 09:30:37 +0200 |
commit | cd49f57ff7f66588c9ad0b5ec66b9ef668a5d69d (patch) | |
tree | 8b9f3974bfe7cb5d3d5c5e4e3ea4714c0c44a793 /scripts/bundle-libraries.sh | |
parent | 159a52e1c2d0889bbb137c42df0062e7df24cac3 (diff) | |
download | upstream-cd49f57ff7f66588c9ad0b5ec66b9ef668a5d69d.tar.gz upstream-cd49f57ff7f66588c9ad0b5ec66b9ef668a5d69d.tar.bz2 upstream-cd49f57ff7f66588c9ad0b5ec66b9ef668a5d69d.zip |
uqmi: wait for the control device too
The control device /dev/cdc-wdm0 is not available immediately on the
D-Link DWR-921 Rev.C3, therefore the wwan interface fails to start at
boot with a "The specified control device does not exist" error.
This patch alters /lib/netifd/proto/qmi.sh to wait for
network.wwan.delay earlier, before checking for the control device,
instead of just before interacting with the modem.
One still has to use network.wwan.proto='qmi', as the "wwan" proto
performs that sort of check before any delay is possible, failing with a
"No valid device was found" error.
Signed-off-by: Thomas Equeter <tequeter@users.noreply.github.com>
Diffstat (limited to 'scripts/bundle-libraries.sh')
0 files changed, 0 insertions, 0 deletions