gsm: allow longer timeout for registration
Often modems will scan before registering with +COPS.
This commit is contained in:

committed by
Dan Williams

parent
9e92bceb07
commit
5ceb3a2106
@@ -1004,7 +1004,7 @@ do_register (MMModemGsmNetwork *modem,
|
|||||||
else
|
else
|
||||||
command = g_strdup ("+COPS=0,,");
|
command = g_strdup ("+COPS=0,,");
|
||||||
|
|
||||||
mm_serial_port_queue_command (priv->primary, command, 10, register_done, info);
|
mm_serial_port_queue_command (priv->primary, command, 30, register_done, info);
|
||||||
g_free (command);
|
g_free (command);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user