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:
eb85b6a
)
session: do not notify an ipconfig change if the session is not connected
author
Tomasz Bursztyka
<tomasz.bursztyka@linux.intel.com>
Wed, 15 Feb 2012 08:19:41 +0000
(10:19 +0200)
committer
Patrik Flykt
<patrik.flykt@linux.intel.com>
Tue, 28 Feb 2012 11:16:35 +0000
(13:16 +0200)
src/session.c
patch
|
blob
|
history
diff --git
a/src/session.c
b/src/session.c
index 56631a66169b9eadd81f525d5d1e8a1bffb66c5b..fbb53b845b5b67764646e031605fc84ef6b4cc86 100644
(file)
--- a/
src/session.c
+++ b/
src/session.c
@@
-1855,6
+1855,9
@@
static void ipconfig_changed(struct connman_service *service,
session = value;
info = session->info;
+ if (info->state == CONNMAN_SESSION_STATE_DISCONNECTED)
+ continue;
+
if (info->entry != NULL && info->entry->service == service) {
if (type == CONNMAN_IPCONFIG_TYPE_IPV4)
ipconfig_ipv4_changed(session);