summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorlaforge <laforge@99fdad57-331a-0410-800a-d7fa5415bdb3>2007-03-08 21:34:11 +0000
committerlaforge <laforge@99fdad57-331a-0410-800a-d7fa5415bdb3>2007-03-08 21:34:11 +0000
commite7ceefbeb06dc9592da3d58f59b7a80fdfa1d3ed (patch)
treef7003643ebb994bf5697e7129afc3704ad9c2b94 /src/util
parent6ef0c62cd09d0bb431862f4eba58420a33884fdf (diff)
don't power down the device before trying to register with the network ;)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@1280 99fdad57-331a-0410-800a-d7fa5415bdb3
Diffstat (limited to 'src/util')
-rw-r--r--src/util/shell.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/util/shell.c b/src/util/shell.c
index 43a0bfe..4fef8f9 100644
--- a/src/util/shell.c
+++ b/src/util/shell.c
@@ -127,7 +127,6 @@ int shell_main(struct lgsm_handle *lgsmh)
lgsm_phone_power(lgsmh, 0);
} else if (!strcmp(buf, "R")) {
printf("Register\n");
- lgsm_phone_power(lgsmh, 0);
lgsm_netreg_register(lgsmh, 0);
} else if (!strcmp(buf, "q")) {
exit(0);
personal git repositories of Harald Welte. Your mileage may vary