2008/3/5, Johannes Berg <johannes@xxxxxxxxxxxxxxxx>: > > On Wed, 2008-03-05 at 18:40 +0900, Joonwoo Park wrote: > > resolve: http://bughost.org/bugzilla/show_bug.cgi?id=1522 > > > > The function ieee80211_ioctl_siwencode shouldn't be called if > > authentication process is not completed. > > This patch makes the ieee80211_ioctl_siwessid to wait for authentication > > is completed. > Johannes, Thank you for reviewing this. > This looks wrong. You could restart association when a key is set but > really the race is by design in WEXT so the only way to fix it is to set > the key first. > Do you mean fix iwconfig to always do set key before set essid? As you said, It could be a possible solution. But, doing It cannot solve a race from two seperated iwconfig process, I think. (eg: iwconfig essid ESSID; iwconfig enc ENC) Moreover, now we just wake auth request task up and return when setting essid. Don't we need to wait a moment until the task is scheduled to be polite to iwconifg? :) Thanks, Joonwoo -- 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