Johannes Berg wrote:
On Thu, 2012-06-21 at 14:03 +0200, Michal Kazior wrote:
+ if (!ieee80211_channel_types_are_compatible(ctx->conf.channel_type,
+ channel_type,
+ &compat_type))
+ continue;
+ if (ctx->conf.channel_type != compat_type) {
+ ctx->conf.channel_type = compat_type;
+ drv_change_chantype(local, ctx);
+ }
Maybe somehow there's a need to also keep track of the desired channel
type per vif so it can be recalculated when a vif is removed, not just
when one is added?
Sounds good.
--
Pozdrawiam / Best regards, Michal Kazior.
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html