uqmi: wait forever registration if timeout set to 0
authorThomas Richard <thomas.richard@kontron.com>
Thu, 8 Oct 2020 12:35:24 +0000 (14:35 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 22 Nov 2020 21:13:18 +0000 (21:13 +0000)
commit2b3a0cabea33763775dbc4b8aab5f54a377bd71e
treeacd4c6cf4f6835442de2975adef4483517f72721
parent6e9b707ee2bd06c180e9acc5224a671f2177b57e
uqmi: wait forever registration if timeout set to 0

Give possibility to wait forever the registration by setting timeout
option to 0.

No timeout can be useful if the interface starts whereas no network is
available, because at the end of timeout the interface will be stopped
and never restarted.

Signed-off-by: Thomas Richard <thomas.richard@kontron.com>
package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh