projects
/
platform
/
upstream
/
connman.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28d49e3
)
session: Ignore non emergency session changes
author
Daniel Wagner
<daniel.wagner@bmw-carit.de>
Fri, 15 Apr 2011 11:23:45 +0000
(13:23 +0200)
committer
Daniel Wagner
<daniel.wagner@bmw-carit.de>
Fri, 15 Apr 2011 14:24:38 +0000
(16:24 +0200)
In the case of an emergency situation, all non emergency session
changes will be ignored.
src/session.c
patch
|
blob
|
history
diff --git
a/src/session.c
b/src/session.c
index
c0624e6
..
cb18d45
100644
(file)
--- a/
src/session.c
+++ b/
src/session.c
@@
-724,6
+724,9
@@
static void session_changed(struct connman_session *session)
* play a bit around. So we are going to improve it step by step.
*/
+ if (info->ecall == TRUE && session != ecall_session)
+ goto out;
+
if (info->connect == FALSE) {
if (info->service != NULL)
__connman_service_disconnect(info->service);