uqmi: add timeout option value
authorFlorian Eckert <fe@dev.tdt.de>
Thu, 12 Apr 2018 11:29:34 +0000 (13:29 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 16:22:06 +0000 (17:22 +0100)
commit251f4fd20e7c70565b9753743bd27bf96000061e
treee6be3bc528f1381520117a5541f5e39105aaddea
parent860e2dac40db3d14c241302ead9702b0753e7f8a
uqmi: add timeout option value

This value will be used for now during following situations:
* Ask the sim with the uqmi --get-pin-status command.
* Wait for network registration with the uqmi --get-serving-system command.

This two commands wait forever in a while loop. Add a timeout to stop
waiting and so inform netifd.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
(backported from dee93def394c9bf10d2cc3eb64d9e190ca461a67)
package/network/utils/uqmi/files/lib/netifd/proto/qmi.sh