On Mon, Mar 24, 2008 at 12:16 AM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > > On Sun, 2008-03-23 at 20:23 +0100, Jan Niehusmann wrote: > > ieee80211_sta_work is disabled while network interface > > is down. Therefore, if you configure wireless parameters > > before bringing the interface up, these configurations are > > not yet effective and association fails. > > > > A workaround from userspace is calling a command like > > 'iwconfig wlan0 ap any' after the interface is brought up. > > > > To fix this behaviour, trigger execution of ieee80211_sta_work from > > ieee80211_open when in STA or IBSS mode. > > What happens with this patch when you haven't set any configuration > items before bringing the interface up? We want it to do nothing, if > that behaviour is kept the patch should be fine. Why should be possible to configure device when it's not up. Shouldn't be there some order in which things are happening? Thanks Tomas > johannes > -- 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