[PATCH 2/3] hostapd: Fix explicit VHT channel switching

Peer, Ilan ilan.peer
Wed Mar 19 01:20:49 PDT 2014


Hi Michal,

> -----Original Message-----
> From: hostap-bounces at lists.shmoo.com [mailto:hostap-
> bounces at lists.shmoo.com] On Behalf Of Michal Kazior
> Sent: Tuesday, March 18, 2014 14:38
> To: j at w1.fi
> Cc: hostap at lists.shmoo.com
> Subject: [PATCH 2/3] hostapd: Fix explicit VHT channel switching
> 
> diff --git a/src/ap/drv_callbacks.c b/src/ap/drv_callbacks.c index
> 439bf66..9ed7601 100644
> --- a/src/ap/drv_callbacks.c
> +++ b/src/ap/drv_callbacks.c
> @@ -480,6 +480,8 @@ void hostapd_event_ch_switch(struct hostapd_data
> *hapd, int freq, int ht,
> 
>  	if (hapd->iface->csa_in_progress &&
>  	    freq == hapd->iface->cs_freq_params.freq) {
> +		hapd->iconf->ieee80211ac = hapd->iface-
> >cs_freq_params.vht_enabled;
> +

Same as in the previous patch I think. hapd->iface->cs_freq_params.vht_enabled is set based on the ieee80211ac, so I do not think that there is a need to update it here.

Regards,

Ilan.



More information about the Hostap mailing list