On 2010-10-01 1:37 AM, Felix Fietkau wrote: > On 2010-10-01 1:06 AM, Felix Fietkau wrote: >> Since the regulatory code touches the channel array, it needs to be >> copied for each device instance. That way the original channel array >> can also be made const. >> >> Signed-off-by: Felix Fietkau <nbd@xxxxxxxxxxx> >> Cc: stable@xxxxxxxxxx [all] > Hmm, don't merge this one just yet. Seems that this may not be the cause > for the weird multi-card regd issues after all, since the code looks > like that part should be properly locked, even for multiple wiphys > sharing the same channel list. I got user confirmation that this patch does indeed help with this issue. I think we should merge this patch until we figure out why sharing the channel list over multiple devices causes these issues. Without this patch, the channel flags can get messed up in a way that breaks regulatory compliance. - Felix -- 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