From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from nbd.name ([88.198.39.176]:59851 "EHLO ds10.nbd.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753750Ab0I3Xh0 (ORCPT ); Thu, 30 Sep 2010 19:37:26 -0400 Message-ID: <4CA51F2F.70701@openwrt.org> Date: Fri, 01 Oct 2010 01:37:19 +0200 From: Felix Fietkau MIME-Version: 1.0 To: linux-wireless CC: "Luis R. Rodriguez" , "John W. Linville" Subject: Re: [PATCH] ath9k: fix channel flag / regd issues with multiple cards References: <4CA5180D.3010702@openwrt.org> In-Reply-To: <4CA5180D.3010702@openwrt.org> Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: 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 > Cc: stable@kernel.org [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. - Felix