[PATCH] hostapd: set all BSS interfaces down when tearing down AP in MBSS mode
Maxime Bizon
mbizon
Thu Mar 20 11:23:43 PDT 2014
Signed-off-by: Maxime Bizon <mbizon at freebox.fr>
---
src/drivers/driver_nl80211.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c
index dcd002e..fb2847f 100644
--- a/src/drivers/driver_nl80211.c
+++ b/src/drivers/driver_nl80211.c
@@ -9905,6 +9905,8 @@ static int wpa_driver_nl80211_if_remove(struct i802_bss *bss,
/* Unsubscribe management frames */
nl80211_teardown_ap(bss);
nl80211_destroy_bss(bss);
+ if (!bss->added_if)
+ i802_set_iface_flags(bss, 0);
os_free(bss);
bss = NULL;
break;
--
1.7.9.5
More information about the Hostap
mailing list