Search Linux Wireless

Re: [PATCH] mac80211: make use of regulatory tx power settings on change of tx power

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

 



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

[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