On Thu, May 22, 2008 at 8:56 PM, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote: > >> memset(&iwe, 0, sizeof(iwe)); >> iwe.cmd = SIOCGIWFREQ; >> - iwe.u.freq.m = bss->freq; >> - iwe.u.freq.e = 6; >> + iwe.u.freq.m = ieee80211_frequency_to_channel(bss->freq); >> + iwe.u.freq.e = 0; >> current_ev = iwe_stream_add_event(current_ev, end_buf, &iwe, >> IW_EV_FREQ_LEN); >> >> memset(&iwe, 0, sizeof(iwe)); >> iwe.cmd = SIOCGIWFREQ; >> - iwe.u.freq.m = ieee80211_frequency_to_channel(bss->freq); >> - iwe.u.freq.e = 0; >> + iwe.u.freq.m = bss->freq; >> + iwe.u.freq.e = 6; >> current_ev = iwe_stream_add_event(current_ev, end_buf, &iwe, >> IW_EV_FREQ_LEN); > > That doesn't make any sense, can you explain? > Your patch switched order of channel and freq in the scan It looks like wpa_supplicant cannot handle it Tomas -- 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