session: Fix Session.Connect()/Disconnect()
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Fri, 8 Apr 2011 08:22:01 +0000 (10:22 +0200)
committerDaniel Wagner <daniel.wagner@bmw-carit.de>
Fri, 8 Apr 2011 14:53:25 +0000 (16:53 +0200)
commit2b40e04e2f1ee1ca30b1a2d91dfea286c78480dd
tree46591e65e129c0faf9338a6c518654ecd3ebb5b4
parent2d74e772e3ef3d37476862aee147d0c069d0631f
session: Fix Session.Connect()/Disconnect()

Instead of using __connman_service_session_connect() for connecting
session.c uses __connman_service_connect() directly
(__connman_service_disconnect accordingly). Those two calls are using
their own glib callback source and can update the session state
accoring the return value from __connman_service_connect()/disconnect().
src/connman.h
src/service.c
src/session.c