On Fri, 2009-10-16 at 15:27 +0300, Luciano Coelho wrote: > @@ -2405,7 +2411,15 @@ int ieee80211_mgd_auth(struct ieee80211_sub_if_data *sdata, > * to sleep and then change channel etc. > */ > sdata->local->oper_channel = req->bss->channel; > - ieee80211_hw_config(sdata->local, 0); > + > + if (memcmp(sdata->local->hw.conf.oper_bssid, > + req->bss->bssid, ETH_ALEN)) { > + config_changed |= IEEE80211_CONF_CHANGE_OPER_BSSID; > + memcpy(sdata->local->hw.conf.oper_bssid, > + req->bss->bssid, ETH_ALEN); > + } > + > + ieee80211_hw_config(sdata->local, config_changed); > Is this really necessary before you can auth? If it is, you're going to have to do a lot more work and go all the way up to userspace so wpa_supplicant with -Dnl80211 knows about this too, and doesn't try to authenticate twice or do FT-OTA. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part