[PATCH] hostapd: Ensure ieee80211n_supported_ht_capab gets called to check ht caps during init

Jouni Malinen j
Tue Feb 1 06:11:56 PST 2011


On Tue, Feb 01, 2011 at 09:09:24AM +0530, Nishant Sarmukadam wrote:
> ieee80211n_supported_ht_capab is called after ieee80211n_check_40mhz
> in function hostapd_check_ht_capab. ieee80211n_check_40mhz can return
> 1 in a valid scenario where the initialization is completed in a
> callback.
> In this case ieee80211n_supported_ht_capab is skipped and hostapd does
> not
> check the ht capabilities reported by the driver. Fix this issue making
> sure
> ieee80211n_supported_ht_capab gets called.

Thanks! In addition to that, we need to also make sure that
ieee80211n_allowed_ht40_channel_pair() gets called in the case the
callback is used to complete setup. I fixed this in another commit.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list