Search Linux Wireless

Re: [PATCH] mac80211 : fix bw change to 40 MHz during channel switch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> +++ b/net/mac80211/spectmgmt.c
> @@ -148,6 +148,11 @@ int ieee80211_parse_ch_switch_ie(struct ieee80211_sub_if_data *sdata,
>  					    IEEE80211_HT_OP_MODE_CCFS2_SHIFT),
>  		};
>  
> +		csa_ie->chandef.width = NL80211_CHAN_WIDTH_40;
> +		csa_ie->chandef.center_freq1 =
> +			ieee80211_channel_to_frequency(wide_bw_chansw_ie->new_center_freq_seg0,
> +						       new_chan->band);
> +
>  		/* default, for the case of IEEE80211_VHT_CHANWIDTH_USE_HT,
>  		 * to the previously parsed chandef
>  		 */

It seems like this should go under the comment, and change
new_vht_chandef, not csa_ie->chandef?

johannes



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux