Search Linux Wireless

Re: [PATCH 2/2] mac80211: add support for setting the ad-hoc multicast rate

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

 



On 2010-11-16 11:27 PM, Johannes Berg wrote:
> On Thu, 2010-11-11 at 15:07 +0100, Felix Fietkau wrote:
> 
>> +	if (mcast_rate) {
>> +		for (i = 0; i < sband->n_bitrates; i++) {
>> +			if (sband->bitrates[i].bitrate == mcast_rate) {
>> +				*idx = i;
>> +				return;
>> +			}
>> +		}
>> +	}
> 
> That conversion loop really shouldn't be in the hotpath.
Seems like the change got merged already, I'll send follow-up fixes soon.

- Felix

--
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