Search Linux Wireless

Re: [PATCHv2 2/2] mac80211: Add support to notify ht/vht opmode modification.

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

 



On Thu, 2018-01-25 at 23:51 +0530, Tamizh chelvam wrote:
> 
> +++ b/net/mac80211/vht.c
> @@ -447,6 +447,7 @@ u32 __ieee80211_vht_handle_opmode(struct ieee80211_sub_if_data *sdata,
>  				  enum nl80211_band band)
>  {
>  	enum ieee80211_sta_rx_bandwidth new_bw;
> +	struct sta_opmode_info sta_opmode;
>  	u32 changed = 0;
>  	u8 nss;
>  
> @@ -460,7 +461,9 @@ u32 __ieee80211_vht_handle_opmode(struct ieee80211_sub_if_data *sdata,
>  
>  	if (sta->sta.rx_nss != nss) {
>  		sta->sta.rx_nss = nss;
> +		sta_opmode.rx_nss = nss;
>  		changed |= IEEE80211_RC_NSS_CHANGED;
> +		sta_opmode.changed |= STA_OPMODE_N_SS_CHANGED;

This obviously cannot work properly, please respin.

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