On Wed, Oct 22, 2008 at 11:22:41PM -0700, Johannes Berg wrote: > On Wed, 2008-10-22 at 13:13 -0700, Luis R. Rodriguez wrote: > > > + if (data->txpower.fixed) > > + new_power_level = min(data->txpower.value, chan->max_power); > > Incidentally, are the units really the same? Just wondering, haven't > checked, if yes this looks good to me. Yes, we were using both in the previous case too, this just uses the min() now. Luis -- 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