On Mon, 2013-09-30 at 12:51 +0200, Felix Fietkau wrote: > > Not sure I see why? It's an absolute value after we do the calculations > > in that interface that has the TPC. > Maybe we need to rework this somehow, but in the mean time, this patch > fixes a serious regression that I've been looking into for a while now. > I haven't worked out the exact conditions that trigger this yet, but > often when an AP VLAN gets destroyed and recreated, or when a new > temporary interface is brought up and then down again, the tx power for > *all* interfaces gets reset to the lowest possible level. I think we just need to skip VLANs in the loop instead, they don't really matter here. Can you try that? Using the max would effectively ignore them since they might always have 0 for bss_conf.txpower. 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