diff options
author | Thomas Equeter <tequeter@users.noreply.github.com> | 2018-08-16 21:39:05 +0200 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-08-29 13:10:12 +0200 |
commit | acedce1d79e238be7ad8fcd8f82ef5a7db0bc929 (patch) | |
tree | aebff573ac0d811760da925b068fddecdf1341b7 /scripts/redboot-script.pl | |
parent | 7aa5dc46ee79c095e53f2b8e19c640cee8a58e0f (diff) | |
download | upstream-acedce1d79e238be7ad8fcd8f82ef5a7db0bc929.tar.gz upstream-acedce1d79e238be7ad8fcd8f82ef5a7db0bc929.tar.bz2 upstream-acedce1d79e238be7ad8fcd8f82ef5a7db0bc929.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/redboot-script.pl')
0 files changed, 0 insertions, 0 deletions