From f4f201c63c797080884432c9a716021ac328ff9e Mon Sep 17 00:00:00 2001 From: laforge Date: Sat, 21 Apr 2007 08:46:47 +0000 Subject: The standard says that the parameter is not optional. Some modems (correctly) return "ERROR" in response to "AT+COPS". (Philipp Zabel) git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@1812 99fdad57-331a-0410-800a-d7fa5415bdb3 --- src/gsmd/usock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gsmd/usock.c b/src/gsmd/usock.c index 2f678dd..696867d 100644 --- a/src/gsmd/usock.c +++ b/src/gsmd/usock.c @@ -388,7 +388,7 @@ static int usock_rcv_network(struct gsmd_user *gu, struct gsmd_msg_hdr *gph, switch (gph->msg_subtype) { case GSMD_NETWORK_REGISTER: - cmd = atcmd_fill("AT+COPS", 9+1, + cmd = atcmd_fill("AT+COPS=0", 9+1, &null_cmd_cb, gu, 0); break; case GSMD_NETWORK_VMAIL_GET: -- cgit v1.2.3