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 v2] cfg80211: add get reg command
Date: Wed, 28 Jan 2009 10:52:35 -0800 [thread overview]
Message-ID: <20090128185235.GC26656@tesla> (raw)
In-Reply-To: <1233168462.4811.13.camel@johannes.local>
On Wed, Jan 28, 2009 at 10:47:42AM -0800, Johannes Berg wrote:
> On Wed, 2009-01-28 at 08:44 -0800, Luis R. Rodriguez wrote:
>
> > +/* caller is reponsible for locking while accessing this */
> > +const struct ieee80211_regdomain *reg_get_current_rd(void)
> > +{
> > + return cfg80211_regdomain;
> > +}
>
> why not make the symbol cfg80211_regdomain non-static and use it
> directly?
Its only accessed once, but sure, OK.
Luis
prev parent reply other threads:[~2009-01-28 18:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-28 16:44 [PATCH v2] cfg80211: add get reg command Luis R. Rodriguez
2009-01-28 18:47 ` Johannes Berg
2009-01-28 18:52 ` 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=20090128185235.GC26656@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).