summaryrefslogtreecommitdiff
path: root/packages/gsm/files/libgsmd-tool-fix.patch
blob: 8938f5a682c8c6b1874184cd28844128f85e628c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Index: gsm/src/util/atcmd.c
===================================================================
--- gsm.orig/src/util/atcmd.c	2007-07-31 11:44:32.000000000 +0200
+++ gsm/src/util/atcmd.c	2007-07-31 11:46:44.000000000 +0200
@@ -91,9 +91,11 @@
 				continue;
 			}
 			printf("STR=`%s'\n", buf);
+
+			/* this is a synchronous call for a passthrough
+			 * command */
+			lgsm_passthrough(lgsmh, buf, rbuf, &rlen);
+			printf("RSTR=`%s'\n", rbuf);
 		}
-		/* this is a synchronous call for a passthrough command */
-		lgsm_passthrough(lgsmh, buf, rbuf, &rlen);
-		printf("RSTR=`%s'\n", rbuf);
 	}
 }