[PATCH] wext: don't overwrite BSS frequency

Jouni Malinen j
Mon Jun 2 10:47:42 PDT 2008


On Mon, Jun 02, 2008 at 01:30:23PM -0400, Dan Williams wrote:

> mac80211 sends _both_ channel and frequency in it's scan results, with
> frequency first and channel second (it's since been fixed to send
> channel first and frequency second to work around this issue).  This
> results in wpa_supplicant getting the right value when the frequency
> comes, but overwriting the value with '0' when the channel comes because
> wpa_supplicant can't handle 5GHz channel numbers.  So if a valid
> previous SIOCGIWFREQ event came in, don't try to overwrite it.

Thanks! Applied.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list