From: Bob Copeland <me@bobcopeland.com>
To: "Luis R. Rodriguez" <lrodriguez@atheros.com>
Cc: Christian Lamparter <chunkeey@web.de>,
Johannes Berg <johannes@sipsolutions.net>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>
Subject: Re: [RFC] ath9k's regulatory domain code changes (for ar9170)
Date: Tue, 24 Mar 2009 21:06:26 -0400 [thread overview]
Message-ID: <20090325010626.GA8528@hash.localnet> (raw)
In-Reply-To: <43e72e890903241652o70aa8e2bjd40a5ae9a4ebc91a@mail.gmail.com>
On Tue, Mar 24, 2009 at 04:52:09PM -0700, Luis R. Rodriguez wrote:
> Alright here's a quick concat of all these patches (also one small
> sparse fix on Christian's last patch). It also now throws ath5k, ath9k
> and ar9170 into ath/. We can rename the drivers after, was lazy to do
> that. Think its easier for review to separate that too.
>
> http://bombadil.infradead.org/~mcgrof/patches/ath/ath-common-v3.patch.txt
>
> Bob, where was that switch break error?
1st patch:
> + switch (band) {
> + case IEEE80211_BAND_2GHZ:
> + ctl = ah->regulatory.regpair->reg_2ghz_ctl;
> + case IEEE80211_BAND_5GHZ:
> + ctl = ah->regulatory.regpair->reg_5ghz_ctl;
> + default:
> + ctl = NO_CTL;
> + }
> + return ctl;
> +}
I think I had it like the following and changed it -- actually with
the returns it's probably better...
switch (band) {
case XXX:
return ah->...;
case YYY:
...
}
--
Bob Copeland %% www.bobcopeland.com
next prev parent reply other threads:[~2009-03-25 1:08 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-24 18:38 [RFC] ath9k's regulatory domain code changes (for ar9170) Christian Lamparter
2009-03-24 18:59 ` Bob Copeland
2009-03-24 18:41 ` Luis R. Rodriguez
2009-03-24 20:03 ` Bob Copeland
2009-03-24 20:10 ` Luis R. Rodriguez
2009-03-24 20:31 ` Johannes Berg
2009-03-24 22:04 ` Luis R. Rodriguez
2009-03-28 16:39 ` Bob Copeland
2009-03-29 23:13 ` Nick Kossifidis
2009-03-29 23:15 ` Nick Kossifidis
2009-03-30 12:00 ` Bob Copeland
2009-03-24 20:33 ` Christian Lamparter
2009-03-24 20:58 ` Luis R. Rodriguez
2009-03-24 22:09 ` Bob Copeland
2009-03-24 21:14 ` Luis R. Rodriguez
2009-03-24 22:24 ` Christian Lamparter
2009-03-24 22:30 ` Bob Copeland
2009-03-24 23:13 ` Luis R. Rodriguez
2009-03-24 23:17 ` Luis R. Rodriguez
2009-03-24 23:52 ` Luis R. Rodriguez
2009-03-25 1:06 ` Bob Copeland [this message]
2009-03-25 2:30 ` Luis R. Rodriguez
2009-03-25 2:59 ` Luis R. Rodriguez
2009-03-25 3:15 ` Luis R. Rodriguez
2009-03-25 3:45 ` Luis R. Rodriguez
2009-03-29 19:39 ` Bob Copeland
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=20090325010626.GA8528@hash.localnet \
--to=me@bobcopeland.com \
--cc=chunkeey@web.de \
--cc=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=lrodriguez@atheros.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).