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:
19b21e6
)
Fix missing reset of network reference when disconnecting
author
Marcel Holtmann
<marcel@holtmann.org>
Fri, 24 Jul 2009 07:24:32 +0000
(09:24 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Fri, 24 Jul 2009 07:24:32 +0000
(09:24 +0200)
plugins/supplicant.c
patch
|
blob
|
history
diff --git
a/plugins/supplicant.c
b/plugins/supplicant.c
index
492f151
..
7bbde7c
100644
(file)
--- a/
plugins/supplicant.c
+++ b/
plugins/supplicant.c
@@
-1640,7
+1640,8
@@
static void state_change(struct supplicant_task *task, DBusMessage *msg)
task->network = task->pending_network;
task->pending_network = NULL;
task_connect(task);
- }
+ } else
+ task->network = NULL;
}
break;
@@
-1659,7
+1660,8
@@
static void state_change(struct supplicant_task *task, DBusMessage *msg)
task->network = task->pending_network;
task->pending_network = NULL;
task_connect(task);
- }
+ } else
+ task->network = NULL;
}
break;