[PATCH] Add get_country op for nl80211 drivers
Johannes Berg
johannes
Tue Jul 19 03:11:31 PDT 2011
On Tue, 2011-07-19 at 13:03 +0300, Bartosz.Markowski at tieto.com wrote:
> /**
> + * get_country - Get country
> + * @priv: Private driver interface data
> + * @alpha2: pointer to country code
> + * Returns: 0 on success, -1 on failure
> + *
> + * This function is for drivers which support some form
> + * of setting a regulatory domain.
> + */
> + int (*get_country)(void *priv, char *alpha2);
What use is this if nothing uses it?
johannes
More information about the Hostap
mailing list