diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2011-06-09 17:45:33 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-02-17 13:25:03 +0100 |
commit | 920fefa8e2c7660422a23d79fa45f7cd488e5198 (patch) | |
tree | d2f8d778dd9d80909cb8494550c5c4824a8d5fc5 /src/mm-modem.c | |
parent | e6d085246f3d47e162084234b1199b5ebb840cca (diff) |
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.
Diffstat (limited to 'src/mm-modem.c')
-rw-r--r-- | src/mm-modem.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mm-modem.c b/src/mm-modem.c index a78587b2..adfbeb26 100644 --- a/src/mm-modem.c +++ b/src/mm-modem.c @@ -862,6 +862,16 @@ mm_modem_init (gpointer g_iface) 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, "Valid", "Modem is valid", |