[pkg-fso-commits] [SCM] FSO frameworkd Debian packaging branch, master, updated. milestone5.1

Michael 'Mickey' Lauer mickey at vanille-media.de
Sat Jun 6 12:21:47 UTC 2009


The following commit has been merged in the master branch:
commit b67edfb3e2d8169d4547d6a1cb328e31ffef449b
Author: Michael 'Mickey' Lauer <mickey at vanille-media.de>
Date:   Wed Feb 18 01:35:24 2009 +0100

    ogsmd: [TI CALYPSO] fso-abyss features autoconfiguration now, take this into account.

diff --git a/framework/subsystems/ogsmd/modems/ti_calypso/modem.py b/framework/subsystems/ogsmd/modems/ti_calypso/modem.py
index b469f0e..a5cf516 100644
--- a/framework/subsystems/ogsmd/modems/ti_calypso/modem.py
+++ b/framework/subsystems/ogsmd/modems/ti_calypso/modem.py
@@ -171,8 +171,9 @@ class TiCalypso( AbstractModem ):
                 if not self._modemOn():
                     self._muxeriface = None
                     return "" # FIXME: emit error?
-                # abyss needs an open session before we can allocate channels
-                self._muxeriface.OpenSession( True, 98, DEVICE_CALYPSO_PATH, 115200 )
+                if not self._muxeriface.HasAutoSession():
+                    # abyss needs an open session before we can allocate channels
+                    self._muxeriface.OpenSession( True, 98, DEVICE_CALYPSO_PATH, 115200 )
             pts, vc = self._muxeriface.AllocChannel( name, self._channelmap[name] )
             return str(pts)
 

-- 
FSO frameworkd Debian packaging



More information about the pkg-fso-commits mailing list