Patch for the Maemo conic device



Hi,

this patch properly initializes the is_online field to FALSE. We can not
just set it to true if the resolv.conf files are in place, we still need
to wait until libconic gives us a valid connection, so that we could ask
later for the iap for example. This field will be set in
on_connection_event method.

Br
Index: tny-maemo-conic-device.c
===================================================================
--- tny-maemo-conic-device.c	(revision 3504)
+++ tny-maemo-conic-device.c	(working copy)
@@ -588,9 +588,9 @@
 
 	priv->forced = FALSE;
 	priv->iap = NULL;
-	priv->is_online = dnsmasq_has_resolv ();
+	priv->is_online = FALSE;
 	priv->connect_slot = NULL;
-	
+
 	priv->cnx = con_ic_connection_new ();
 
 	if (!priv->cnx)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]