On Tue, 2013-03-19 at 13:28 +0100, Karl Beldan wrote: > > > + cfreq_off = local->csa_channel->center_freq - > > > + local->_oper_chandef.chan->center_freq; > > > + > > > + local->_oper_chandef.center_freq1 += cfreq_off; > > > + local->_oper_chandef.center_freq2 += cfreq_off; > > > > can't add cfreq_off to center_freq2. Add only in case of non-zero > > center_freq2? Yeah this is certainly not right ... anyway no driver supports 80+80 now, so no harm done, but anyway I don't really like any of this. We really need to handle extended chanswitch ... Maybe we should just disconnect entirely (like we do for chanctx today) if we have a channel that's wider than 20 MHz, since we don't handle chanswitch properly. johannes -- 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