From: Daniel Wagner Date: Fri, 15 Apr 2011 11:23:45 +0000 (+0200) Subject: session: Ignore non emergency session changes X-Git-Tag: 0.73~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=54b7bce271e67870d3394b363999499b2ec8133d;p=platform%2Fupstream%2Fconnman.git session: Ignore non emergency session changes In the case of an emergency situation, all non emergency session changes will be ignored. --- diff --git a/src/session.c b/src/session.c index c0624e6..cb18d45 100644 --- 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);