Return-path: Received: from cantor2.suse.de ([195.135.220.15]:50202 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750927AbaDVXTP (ORCPT ); Tue, 22 Apr 2014 19:19:15 -0400 Date: Wed, 23 Apr 2014 01:19:13 +0200 From: "Luis R. Rodriguez" To: Michael Leun Cc: "Luis R. Rodriguez" , johannes@sipsolutions.net, linux-wireless@vger.kernel.org, arik@wizery.com, linux@eikelenboom.it Subject: Re: [PATCH 0/2] cfg80211: two reg fixes Message-ID: <20140422231913.GU27882@wotan.suse.de> (sfid-20140423_011919_605410_191572CE) References: <1398137975-14275-1-git-send-email-mcgrof@do-not-panic.com> <20140422180003.6438dbb7@xenia.leun.net> <20140422204552.GR27882@wotan.suse.de> <20140422233213.780405d1@xenia.leun.net> <20140422215012.GS27882@wotan.suse.de> <20140423005309.5c2d093e@xenia.leun.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20140423005309.5c2d093e@xenia.leun.net> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Wed, Apr 23, 2014 at 12:53:09AM +0200, Michael Leun wrote: > On Tue, 22 Apr 2014 23:50:12 +0200 > "Luis R. Rodriguez" wrote: > > > On Tue, Apr 22, 2014 at 11:32:13PM +0200, Michael Leun wrote: > > > On Tue, 22 Apr 2014 22:45:52 +0200 > > > "Luis R. Rodriguez" wrote: > > > > > > > > > > > I only see this on an Acer PTZ1825 with an ath9k wireless card, > > > > > but that machine was not sold with that wlan card, so other > > > > > people with the same model won't neccesarily see the same issue. > > > > > > > > OK I see the issue and its clear now how this could have > > > > gone through, the wiphy comes from the country IE and it > > > > could have gone disappearing during suspend / hotplug, so > > > > we do need to check for it again. > > > [...] > > > > - if (wiphy->regulatory_flags & > > > > REGULATORY_COUNTRY_IE_IGNORE) > > > > + if (wiphy && > > > > + wiphy->regulatory_flags & > > > > REGULATORY_COUNTRY_IE_IGNORE) return REG_REQ_IGNORE; > > > > > > Yup, thats it. I can hear it whisper "put me into stable". > > > > I was a bit perplexed that this was not picked up before, so I hunted > > a bit and found a fix that was applied to the mac80211-next upstream > > development tree but not propagated to stable. Can you remove that > > pach, just git checkout -f and try this one instead? It applies > > cleanly and since its upstream on Linus' tree already we should be > > able to get this to Greg faster if you confirm it fixes your issue. > > So all we need is a Tested-by. > > > > Luis > > > > commit 772f0389338cfcf96da1c178046dc7e1649ab554 > > Author: Ilan Peer > > > Yes, this also fixes it. OK thanks, will poke stable, and thanks for the report. Luis