Return-path: Received: from mail-bk0-f50.google.com ([209.85.214.50]:62734 "EHLO mail-bk0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757815Ab3BZT27 (ORCPT ); Tue, 26 Feb 2013 14:28:59 -0500 MIME-Version: 1.0 In-Reply-To: References: <1361648055-15871-1-git-send-email-kazikcz@gmail.com> Date: Tue, 26 Feb 2013 20:28:58 +0100 Message-ID: (sfid-20130226_202923_361926_F3725329) Subject: Re: [PATCH] ath: sanitize 0xFFFF regdomain From: =?UTF-8?Q?Micha=C5=82_Kazior?= To: "Luis R. Rodriguez" Cc: David Quan , linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: On 26 February 2013 19:29, Luis R. Rodriguez wrote: > NACK. This comes up every now and then and this is not a valid device > ID, this is an issue with the card, so what you can do is adjust the > device ID post bootup. Not sure if distros have an easy way to set > this up, if not perhaps this should be considered as this has come up > twice before. The erroneous 0xFFFF value comes from using one of eeprom_ops implementations. Do you suggest I should fool ath regd code to think this is a different card so it picks a different (perhaps correct, if at all) eeprom_ops variant? How do I do that? >From what I can tell this is in the pci probing and I can't see any way to skip the regd initialisation. I don't see how current_rd can have a value other than 0xFFFF for this device in this code path. Or am I missing something? -- Michal.