[PATCH v2 01/16] wcn36xx: Add main.c

Eugene Krasnikov k.eugene.e at gmail.com
Fri Aug 23 06:06:05 EDT 2013


My bad. Did not clean up it completely.  if_comb is a dead code and is
not used anywhere. Will fix it.

2013/8/23 Johannes Berg <johannes at sipsolutions.net>:
> On Fri, 2013-08-23 at 11:42 +0200, Eugene Krasnikov wrote:
>> >> +static const struct ieee80211_iface_limit if_limits[] = {
>> >> +     { .max = 2, .types = BIT(NL80211_IFTYPE_STATION) },
>> >> +     { .max = 1, .types = BIT(NL80211_IFTYPE_AP) },
>> >> +};
>> >> +
>> >> +static const struct ieee80211_iface_combination if_comb = {
>> >> +     .limits = if_limits,
>> >> +     .n_limits = ARRAY_SIZE(if_limits),
>> >> +     .max_interfaces = 2,
>> >> +     .num_different_channels = 1,
>> >> +};
>
>> Exactly. So far wcn36xx supports only one interface.
>
> But you're still advertising two.
>
> johannes
>
>



-- 
Best regards,
Eugene



More information about the wcn36xx mailing list