Johannes Berg <johannes@...> writes: > wdev->current_bss = NULL; > wdev->sme_state = CFG80211_SME_IDLE; > + wdev->ssid_len = 0; > > if (wdev->conn) { > kfree(wdev->conn->ie); Sorry, but this didn't help with the ar9170 problem. I still get a call to ar9170_op_bss_info_changed() after ifconfig wlan1 down. I put a printk at your change in sme.c and it's not called. Please be aware that in managed mode my adapter stays in state SCANNING, 'cause there is not AP around with essid huhu_m: ifconfig wlan1 up iwconfig wlan1 essid huhu_m ifconfig wlan1 down iwconfig wlan1 mode ad-hoc essid huhu_a channel 1 /* ar9170_op_bss_info_changed() is called with ar->vif == NULL */ Regards, Jörg. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html