On Fri, 2009-02-20 at 01:04 -0500, Luis R. Rodriguez wrote: > +/** > + * regulatory_hint_found_beacon - hints a beacon was found on a channel > + * @wiphy: the wireless device where the beacon was found on > + * @beacon_chan: the channel on which the beacon was found on > + * @gfp: context flags > + * > + * This informs the wireless core that a beacon from an AP was found on > + * the channel provided. This allows the wireless core to make educated > + * guesses on regulatory to help with world roaming. This is only used for > + * world roaming -- when we do not know our current location. This is > + * only useful on channels 12, 13 and 14 on the 2 GHz band as all other > + * channels are already enabled by the world regulatory domain (channels > + * 1-11); and on non-radar 5 GHz channels. > + */ > +extern int regulatory_hint_found_beacon(struct wiphy *wiphy, > + struct ieee80211_channel *beacon_chan, > + gfp_t gfp); Remove the extern please; also, you don't need to export this function in a public header file, reg.h should be fine. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part