diff options
author | Jeroen Elebaut <J.Elebaut@option.com> | 2009-11-24 11:31:22 -0800 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2009-11-24 11:31:22 -0800 |
commit | 5175c2accb5bff5e2c78e906d00658bd9b70c07e (patch) | |
tree | 5de51fe916da8ec1d175258e16b6bff76a565d95 | |
parent | 5ceb3a2106612ededa481c4e723626d00722d8da (diff) |
gsm: some modems dislike spaces in AT+CGDCONT
0.7 hasn't used spaces for over a year, so this is a pretty safe
change. Some modems just don't like it.
0.7 commit to remove spaces:
commit 0265bfe52dcc93372aff6064e849044ccb72aa1e
Author: Dan Williams <dcbw@redhat.com>
Date: Fri Oct 24 15:15:06 2008 +0000
2008-10-24 Dan Williams <dcbw@redhat.com>
* src/nm-gsm-device.c
- (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
-rw-r--r-- | src/mm-generic-gsm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-generic-gsm.c b/src/mm-generic-gsm.c index 4644e16d..f2053c53 100644 --- a/src/mm-generic-gsm.c +++ b/src/mm-generic-gsm.c @@ -1364,7 +1364,7 @@ cid_range_read (MMSerialPort *port, mm_callback_info_set_data (info, "cid", GUINT_TO_POINTER (cid), NULL); - command = g_strdup_printf ("+CGDCONT=%d, \"IP\", \"%s\"", cid, apn); + command = g_strdup_printf ("+CGDCONT=%d,\"IP\",\"%s\"", cid, apn); mm_serial_port_queue_command (port, command, 3, set_apn_done, info); g_free (command); } |