session: Remove deselect_previous_service()
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Tue, 20 Sep 2011 14:24:01 +0000 (16:24 +0200)
committerDaniel Wagner <daniel.wagner@bmw-carit.de>
Thu, 22 Sep 2011 13:45:50 +0000 (15:45 +0200)
commit12a224e7c3aee9669f0ddece6f98ab47ee2a6473
treea0db574fa9f4fce55dec0e11c47ac41801218675
parent3d50a9640625c48c376f8005ffac68056b758e2a
session: Remove deselect_previous_service()

The deselect_and_disconnect() function should be called
from session_changed() and not in the select_and_connect()
code path. All disconnect and connect decision are
initiate from session_changed(). This makes the code flow more
symetric.

Note that we break here a Online -> Offline transision, we are
going to fix this later again.
src/session.c