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)
This commit is contained in:
committed by
Dan Williams
parent
5ceb3a2106
commit
5175c2accb
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user