On Sat, 2010-02-06 at 13:20 +0000, David Kilroy wrote: > + if (wdev->conn2) { > + struct cfg80211_bss *bss; > + > + bss = cfg80211_get_bss(wdev->wiphy, NULL, wdev->conn2->bssid, > + wdev->ssid, wdev->ssid_len, > + WLAN_CAPABILITY_ESS, > + WLAN_CAPABILITY_ESS); > + > + if (WARN_ON(!bss)) > + wdev->sme_state = CFG80211_SME_IDLE; Can that case happen "legitimately", say the AP crashes right after you connect, possibly due to the connection? Even if not, this will leave the driver in a different state than the state machine here, which we should clean up regardless I think. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part