linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Luis R. Rodriguez" <lrodriguez@atheros.com>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: Luis Rodriguez <Luis.Rodriguez@Atheros.com>,
	"linville@tuxdriver.com" <linville@tuxdriver.com>,
	"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: [PATCH] mac80211: make use of regulatory tx power settings on change of tx power
Date: Thu, 23 Oct 2008 05:03:16 -0700	[thread overview]
Message-ID: <20081023120316.GD5979@tesla> (raw)
In-Reply-To: <1224742961.5865.5.camel@johannes.berg>

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

      reply	other threads:[~2008-10-23 19:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-22 20:13 [PATCH] mac80211: make use of regulatory tx power settings on change of tx power Luis R. Rodriguez
2008-10-23  6:22 ` Johannes Berg
2008-10-23 12:03   ` Luis R. Rodriguez [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081023120316.GD5979@tesla \
    --to=lrodriguez@atheros.com \
    --cc=Luis.Rodriguez@Atheros.com \
    --cc=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).