uqmi: added timeout to fix hanging qmi.sh
authorUwe Niethammer <uwe@dr-niethammer.de>
Sun, 1 Oct 2023 10:26:51 +0000 (12:26 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 8 Oct 2023 12:14:50 +0000 (14:14 +0200)
commit5b00873f5d14f623185388251e46850940c50383
tree0261375a679da1e1d03b938aab3e103d7ab01c73
parent76758a8694cab59bd1f9cdba53420fd2ff8bb383
uqmi: added timeout to fix hanging qmi.sh

Modems which are using qmi do not reply on the 1st sync but they do
on subsequent. So qmi.sh is hanging on the first call. Since 2020 uqmi
supports a timeout parameter. Unfortunately qmi.sh didn't make use of
this parameter. So qmi.sh is now invoking an early dummy access to
unlock the modem

Signed-off-by: Uwe Niethammer <uwe@dr-niethammer.de>
(cherry picked from commit 32a696f9e419ebec5b166847a16a5a45d030acbd)
package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh