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