Hi, On Sun, 2009-02-08 at 00:35 +0100, Alina Friedrichsen wrote: > Hello, > > after a "ip link set wlan0 down" and than "ip link set wlan0 up" the > wifi connection don't come up again. If you do a "iwconfig wlan0 > channel 4" beaconing in IBSS doesn't work anymore. What if you set the SSID again? I'd think that would help? > My thought to fix this is to add a generic ieee80211_sta_commit() > function which is called after the most config changes (e.g. SSID, > BSSID, channel, interface up, ...), so that a clean rejoin is done by > the function and the driver hangs not in an undefined state. And I > think it's more elegant, because ieee80211_sta_set_bssid() then > doesn't need to call ieee80211_sta_set_ssid() anymore to do the > rejoin. That could make sense, not exactly sure at this point. I'm also still wondering about the other issue with turning _off_ IBSS, with essid off or so, see my other mail. > What do you think about it? If agree I will implement it after > Johannes IBSS changes are applied to avoid confusion. Sounds reasonable, if it fixes a bug. I'd have to see the patch, I guess. I'd like to also do assoc/IBSS stuff in cfg80211 at some point soonish. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part