Hi,

comments below.

> [...]
> diff --git a/include/iwinfo.h b/include/iwinfo.h
> index 676db91..680f384 100644
> --- a/include/iwinfo.h
> +++ b/include/iwinfo.h
> @@ -282,6 +282,8 @@ struct iwinfo_ops {
>       int (*survey)(const char *, char *, int *);
>       int (*lookup_phy)(const char *, char *);
>       void (*close)(void);

Move these before the lookup_phy function:

> [...]
> @@ -3242,5 +3314,7 @@ const struct iwinfo_ops nl80211_ops = {
>       .countrylist      = nl80211_get_countrylist,
>       .survey           = nl80211_get_survey,
>       .lookup_phy       = nl80211_lookup_phyname,
> -     .close            = nl80211_close
> +     .close            = nl80211_close,
> +     .center_chan1     = nl80211_get_center_chan1,
> +     .center_chan2     = nl80211_get_center_chan2

Please move the new function pointers before lookup_phyname.

>  };
> 

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to