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