On Tue, 2009-01-13 at 14:51 -0800, Luis R. Rodriguez wrote: > On Tue, Jan 13, 2009 at 02:46:59PM -0800, Johannes Berg wrote: > > On Tue, 2009-01-13 at 11:57 -0800, Luis R. Rodriguez wrote: > > > A driver's reg_notfier() may want to inspect the currently set > > > regulatory domain. > > > > > +const struct ieee80211_regdomain *cfg80211_regdomain; > > > +EXPORT_SYMBOL(cfg80211_regdomain); > > > > Can't we just pass it to the notifier instead of exporting it? > > I as thinking about that too, sure, either or is fine. Any preference? I prefer not exporting it. That makes it more local, and saves the export. Not that I see why we need it at all? You're not using it, so let's not do anything with it until we need it. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part