comgt: increase timeout on runcommands
authorGiuseppe Lippolis <giu.lippolis@gmail.com>
Sun, 26 Aug 2018 08:52:27 +0000 (10:52 +0200)
committerJohn Crispin <john@phrozen.org>
Wed, 29 Aug 2018 06:35:24 +0000 (08:35 +0200)
Some combination of modem/wireless operator requires more time to
execute the commands.
Tested on DWR-512 embedded wwan modem and italian operator iliad (new
virtual operator).

Signed-off-by: Giuseppe Lippolis <giu.lippolis@gmail.com>
(cherry picked from commit 774d7fc9f2897d7b33ef15ddaa3522531eb85970)

package/network/utils/comgt/files/runcommand.gcom

index e99b6f922a418241b6723d257355757157e2b775..88a9d29dc114456973faaacbcd0e6f65e8a9a427 100644 (file)
@@ -10,7 +10,7 @@ opengt
  send $env("COMMAND")
  send "^m"
 
- waitfor 15 "OK","ERR","ERROR","COMMAND NOT SUPPORT"
+ waitfor 25 "OK","ERR","ERROR","COMMAND NOT SUPPORT"
  if % = 0 goto continue
  if % = 1 goto error
  if % = 2 goto error