Search Linux Wireless

Re: [PATCH v2 03/03] wl1271: 11n Support, functionality and configuration ability

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

 



On Wed, 2010-10-06 at 20:08 +0200, Shahar Levi wrote:

>  	/* peek into the rates configured in the STA entry */
>  	spin_lock_irqsave(&wl->wl_lock, flags);
> -	if (sta && sta->supp_rates[conf->channel->band] != wl->sta_rate_set) {
> +	if (sta &&
> +	    (sta->supp_rates[conf->channel->band] !=
> +	    (wl->sta_rate_set & HW_BG_RATES_MASK))) {
>  		wl->sta_rate_set = sta->supp_rates[conf->channel->band];
>  		set_bit(WL1271_FLAG_STA_RATES_CHANGED, &wl->flags);
>  	}

???

How can non-BG rates ever show up there? Is this really an 11a change?

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux