On Fri, 2009-02-06 at 21:40 +0100, Johannes Berg wrote: > On Fri, 2009-02-06 at 11:41 -0500, Dan Williams wrote: > > On Fri, 2009-02-06 at 14:57 +0100, Johannes Berg wrote: > > > Hi, > > > > > > so I was testing IBSS, and found this strange behaviour: > > > > > > * wpa_supplicant (or NM?) will try to do SIWMLME(disassoc) in IBSS > > > mode, which seems kinda wrong. Why do we accept it? We send out a > > > frame and then do nothing else. > > > * Then I thought "iwconfig wlan1 essid off" - but that fails with > > > -EINVAL due to ieee80211_sta_find_ibss > > > > > > It seems to me that either one of those, or both, should actually turn > > > off beaconing. > > > > Either one; the supplicant uses SIWMLME(disassoc) at various times (like > > when leaving a BSS), and NM will sometimes set a NULL SSID when > > deactivating the device. > > Fun. Neither one actually works. Yeah; I had to recently patch wpa_supplicant to really disassociate at Jouni's suggestion; just telling the driver to disassoc isn't adequate in all cases, because some drivers will just try to reassoc. Instead, unlocking the BSSID and setting a bogus SSID will usually actually accomplish the disassociation in addition to the MLME disassoc... Dan -- 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