Return-path: Received: from stator.leun.net ([85.214.203.199]:35560 "EHLO stator.leun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753268AbaDVVcf (ORCPT ); Tue, 22 Apr 2014 17:32:35 -0400 Date: Tue, 22 Apr 2014 23:32:13 +0200 From: Michael Leun To: "Luis R. Rodriguez" 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: <20140422233213.780405d1@xenia.leun.net> (sfid-20140422_233243_343404_16B9F757) In-Reply-To: <20140422204552.GR27882@wotan.suse.de> References: <1398137975-14275-1-git-send-email-mcgrof@do-not-panic.com> <20140422180003.6438dbb7@xenia.leun.net> <20140422204552.GR27882@wotan.suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-wireless-owner@vger.kernel.org List-ID: 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". Thanks! -- MfG, Michael Leun