[RFC v2 1/2] hostapd: Derive frequency for BSSes other than the first

Jouni Malinen j
Sun Jan 29 02:30:24 PST 2012


On Thu, Jan 12, 2012 at 05:19:16PM +0530, Yogesh Ashok Powar wrote:
> Commit e4fb21676972952b5434e8c2a049e239d457abe6 moved frequency
> storage from driver struct to bss struct and is assigned in
> wpa_driver_nl80211_set_freq. As this wpa_driver_nl80211_set_freq
> is triggered only on the first_bss, bss->freq for other BSSes is
> never being set to the correct value. This sends MLME frames
> on frequency zero (initialized value of freq) for BSSes other than the first.
> 
> To fix this deriving frequency value from first_bss.
> 
> V2: As suggested by Johannes
>     setting bss->freq to right frequency in wpa_driver_nl80211_if_add.

Thanks! Applied.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list