mirror of git://git.sysmocom.de/ofono
quectel: swap cmuxed ports
According to the manual, when using CMUX on the UC15, it outputs unsolicited indications on port 2 (i.e. /dev/gsmtty2), so the quectel plugin must use this when registering for such.
This commit is contained in:
parent
06de0c3067
commit
62e8e3c1e2
|
@ -849,8 +849,8 @@ static void cmux_cb(gboolean ok, GAtResult *result, gpointer user_data)
|
|||
* the kernel does not yet support mapping the underlying serial device
|
||||
* to its virtual gsm ttys, so hard-code gsmtty1 gsmtty2 for now
|
||||
*/
|
||||
ofono_modem_set_string(modem, "Aux", "/dev/gsmtty1");
|
||||
ofono_modem_set_string(modem, "Modem", "/dev/gsmtty2");
|
||||
ofono_modem_set_string(modem, "Modem", "/dev/gsmtty1");
|
||||
ofono_modem_set_string(modem, "Aux", "/dev/gsmtty2");
|
||||
|
||||
/* wait for gsmtty devices to appear */
|
||||
if (!l_timeout_create_ms(100, mux_ready_cb, modem, NULL)) {
|
||||
|
|
Loading…
Reference in New Issue