projects
/
libeap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5b26e3
)
dbus: Do not try to unregister not-yet-registered network object
author
Jouni Malinen
<j@w1.fi>
Wed, 6 Jan 2010 19:31:13 +0000
(21:31 +0200)
committer
Jouni Malinen
<j@w1.fi>
Wed, 6 Jan 2010 19:31:13 +0000
(21:31 +0200)
wpa_supplicant/dbus/dbus_new.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/dbus/dbus_new.c
b/wpa_supplicant/dbus/dbus_new.c
index
05e6936
..
9e90629
100644
(file)
--- a/
wpa_supplicant/dbus/dbus_new.c
+++ b/
wpa_supplicant/dbus/dbus_new.c
@@
-1073,7
+1073,8
@@
int wpas_dbus_unregister_network(struct wpa_supplicant *wpa_s, int nid)
int ret;
/* Do nothing if the control interface is not turned on */
- if (wpa_s == NULL || wpa_s->global == NULL)
+ if (wpa_s == NULL || wpa_s->global == NULL ||
+ wpa_s->dbus_new_path == NULL)
return 0;
ctrl_iface = wpa_s->global->dbus;
if (ctrl_iface == NULL)