summaryrefslogtreecommitdiffstats
path: root/package/query3g/files/query3g.sh
diff options
context:
space:
mode:
Diffstat (limited to 'package/query3g/files/query3g.sh')
-rw-r--r--package/query3g/files/query3g.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/query3g/files/query3g.sh b/package/query3g/files/query3g.sh
index b591d61a3..33cfe2379 100644
--- a/package/query3g/files/query3g.sh
+++ b/package/query3g/files/query3g.sh
@@ -22,9 +22,9 @@ for port in 0 1 2 3 4 5 6 7 8 9; do
local vid="$(cat "$tty/../../idVendor")"
local pid="$(cat "$tty/../../idProduct")"
- if [ "$last_reset" != "$vid:$pid" ]; then
+ if [ "$last_reset" != "$vid:$pid" ] && [ "$vid:$pid" != "0685:7000" ]; then
last_reset="$vid:$pid"
- $reset "$vid:$pid" >/dev/null
+# $reset "$vid:$pid" >/dev/null
local try=0
while [ $((try++)) -lt 5 ] && [ ! -e "$dev" ]; do sleep 1; done