Message ID | 20120112112337.GF16414@hertz.marvell.com |
---|---|
State | Superseded |
Headers | show |
diff --git a/src/drivers/driver_nl80211.c b/src/drivers/driver_nl80211.c index 1f4a614..68d7ad9 100644 --- a/src/drivers/driver_nl80211.c +++ b/src/drivers/driver_nl80211.c @@ -7837,6 +7838,7 @@ static int wpa_driver_nl80211_if_remove(void *priv, for (tbss = &drv->first_bss; tbss; tbss = tbss->next) { if (tbss->next == bss) { tbss->next = bss->next; + nl80211_teardown_ap(bss); nl80211_destroy_bss(bss); os_free(bss); bss = NULL;