Ticket #1883: 1883.patch

File 1883.patch, 562 bytes (added by erikos, 14 years ago)

if we have connections we start the timer and see if there is some activity, otherwise we automesh directly

  • src/jarabe/model/olpcmesh.py

    diff --git a/src/jarabe/model/olpcmesh.py b/src/jarabe/model/olpcmesh.py
    index cbd7ddd..bdf0cec 100644
    a b class OlpcMeshManager(object): 
    8383        self._eth_device_state = DEVICE_STATE_UNKNOWN
    8484
    8585        if self._have_configured_connections():
    86             self._start_automesh()
    87         else:
    8886            self._start_automesh_timer()
     87        else:
     88            self._start_automesh()
    8989
    9090    def _get_companion_device(self):
    9191        props = dbus.Interface(self.mesh_device,