[PATCH] Add get_country op for nl80211 drivers

Johannes Berg johannes at sipsolutions.net
Tue Jul 19 06:11:31 EDT 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