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 -- 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