On Sun, Jan 18, 2009 at 12:49:17AM -0800, Johannes Berg wrote: > On Sat, 2009-01-17 at 14:06 -0800, Luis R. Rodriguez wrote: > > > > > >> > +static int freq_reg_info(struct wiphy *wiphy, u32 center_freq, u32 *bandwidth, > > > > >> > + const struct ieee80211_reg_rule **reg_rule) > > > > >> > +{ > > > > >> > + return freq_reg_info_regd(wiphy, center_freq, > > > > >> > + bandwidth, reg_rule, NULL); > > > > >> > +} > > > > >> > > > > >> Are you not using this or am I just not seeing the user? > > > > > > > > > > Yeah -- good catch, its just cruft left over from my previous work. > > > > > > > > Actually freq_reg_info_regd() is used by handle_channel_custom(), > > > > hence my comment on re-inventing the wheel. But yeah it used. > > > > > > Yeah but not freq_reg_info? > > > > That one is used by the reg_notifier() in ath9k to inspect the country IE > > regulatory domain processed. > > ?? It's static and not exported, so how can ath9k use it? Patch 04 in this series fixes that. 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