From: Luis R. Rodriguez Date: Tue, 14 Apr 2009 01:41:46 +0000 (-0400) Subject: atheros: fix propagation of bad EEPROM on regulatory init X-Git-Tag: v2.6.31-rc1~330^2~568^2~44 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85efc86eb7c6cbb1c8ce8d99b10b948be033fbb9;p=pandora-kernel.git atheros: fix propagation of bad EEPROM on regulatory init When the EEPROM is not in good condition we cannot continue so we currently bail out but only ath5k is bailing out properly. Both ath9k and ar9170 were proceeding and if a user were to run into this they'd see an obscure panic. Lets propagate the error as intended and make sure we inform the user by lifting the error message from debug to a kernel error. Stable note: You can find a port of this page here: http://bombadil.infradead.org/~mcgrof/patches/ath9k/ath9k-fix-eeprom.patch.txt Cc: stable@kernel.org Signed-off-by: Luis R. Rodriguez Signed-off-by: John W. Linville --- Reading git-diff-tree failed