projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
734baae
)
Call wpas_notify_network_removed() on REMOVE_NETWORK
author
Jouni Malinen
<jouni@qca.qualcomm.com>
Wed, 7 Sep 2011 14:44:00 +0000
(17:44 +0300)
committer
Jouni Malinen
<j@w1.fi>
Wed, 7 Sep 2011 14:44:00 +0000
(17:44 +0300)
This was done for the case where all networks are being removed,
but the case where a single network is removed was forgotten.
wpa_supplicant/ctrl_iface.c
patch
|
blob
|
history
diff --git
a/wpa_supplicant/ctrl_iface.c
b/wpa_supplicant/ctrl_iface.c
index
2b0b081
..
22c31fd
100644
(file)
--- a/
wpa_supplicant/ctrl_iface.c
+++ b/
wpa_supplicant/ctrl_iface.c
@@
-1409,6
+1409,8
@@
static int wpa_supplicant_ctrl_iface_remove_network(
wpa_printf(MSG_DEBUG, "CTRL_IFACE: REMOVE_NETWORK id=%d", id);
ssid = wpa_config_get_network(wpa_s->conf, id);
+ if (ssid)
+ wpas_notify_network_removed(wpa_s, ssid);
if (ssid == NULL ||
wpa_config_remove_network(wpa_s->conf, id) < 0) {
wpa_printf(MSG_DEBUG, "CTRL_IFACE: Could not find network "