modem: new property to allow specifying longer timeouts when configuring IP
This IpTimeout property will be read by NetworkManager, and used as the time to wait for pppd to establish the IP configuration.
This commit is contained in:
@@ -860,6 +860,16 @@ mm_modem_init (gpointer g_iface)
|
||||
MM_MODEM_IP_METHOD_PPP,
|
||||
G_PARAM_READWRITE));
|
||||
|
||||
g_object_interface_install_property
|
||||
(g_iface,
|
||||
g_param_spec_uint (MM_MODEM_IP_TIMEOUT,
|
||||
"IP timeout",
|
||||
"Maximum time to wait for a successful IP establishment, "
|
||||
"when PPP is used. Modems with special needs will set this "
|
||||
"property to a value greater than 0",
|
||||
0, G_MAXUINT32, 0,
|
||||
G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
|
||||
|
||||
g_object_interface_install_property
|
||||
(g_iface,
|
||||
g_param_spec_boolean (MM_MODEM_VALID,
|
||||
|
||||
Reference in New Issue
Block a user