session: Allways allow set session mode
authorDaniel Wagner <daniel.wagner@bmw-carit.de>
Thu, 11 Aug 2011 14:56:18 +0000 (16:56 +0200)
committerDaniel Wagner <daniel.wagner@bmw-carit.de>
Thu, 11 Aug 2011 15:40:53 +0000 (17:40 +0200)
commit94b80ba600d314127427b9948459a4c86a05015d
treeaf518c8f688f88ab42ac02182cc49b80a8599ce1
parent5fdcc5ab4da1efaf08497a749b191b16ed2a9b44
session: Allways allow set session mode

If the unit test framework crashes it can happen that the session mode
is still enabled but we have a connected service. So if the unit test
restarted we wont disconnect all services and therefore block for
ever. Since it is safe to call __connman_service_disconnect_all()
again there is no need to disallow this operation.
src/session.c