Search Linux Wireless

Re: [PATCH v2] cfg80211: add get reg command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux