Re: [PATCH] ath: sanitize 0xFFFF regdomain

From: Luis R. Rodriguez
Date: Tue Feb 26 2013 - 13:30:12 EST


On Sat, Feb 23, 2013 at 11:34 AM, Michal Kazior <kazikcz@xxxxxxxxx> wrote:
> Dbii F52N-PRO mini pci device reports an invalid
> regdomain. This card has been reported to work on
> MikroTik's RouterOS but failed on Linux:
>
> [ 14.320000] ath: EEPROM regdomain: 0xffff
> [ 14.320000] ath: EEPROM indicates we should expect a country code
> [ 14.320000] ath: invalid regulatory domain/country code 0xbfff
> [ 14.320000] ath: Invalid EEPROM contents
> [ 14.320000] ath9k 0000:00:12.0: Failed to initialize device
> [ 14.330000] ath9k: probe of 0000:00:12.0 failed with error -22
>
> With the patch the device works fine.
>
> Signed-off-by: Michal Kazior <kazikcz@xxxxxxxxx>

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.

Luis
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/