On Thu, 2008-09-11 at 00:32 +0300, Tomas Winkler wrote: > Okay so here is the scenario. Iwlwifi reject scan that is triggered > withing fixed period after > association to leave time to finish EAPOL exchange. Why is iwlwifi thinking it's associating in an IBSS? > We never hit the problem in STA mode because of this code > > if (sdata->vif.type != IEEE80211_IF_TYPE_STA) > return ieee80211_sta_start_scan(dev, ssid, ssid_len); > > which makes it go through the work queue, just pure timing luck. Well the remainder of the code makes it go through, but yeah. > I will remove this delay for IBSS, there is no association and no 1X > is going on. Ok, makes sense. > For BSS I suggest to enforce similar delay already mac80211, iwlwifi I > just return empty scan completion and buffered results will be > returned. We might want to enforce a similar delay like that in mac80211 instead of iwlwifi, yeah. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part