]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ath: add missing regdomain pair 0x5c mapping
authorChristian Lamparter <chunkeey@googlemail.com>
Wed, 6 Apr 2011 18:40:31 +0000 (20:40 +0200)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Wed, 14 Mar 2012 14:57:21 +0000 (10:57 -0400)
commite5dccef0012558e89025dadbf9d902270e03aaa5
treebb78feda5ea73ed588d73515bd432932a6227f67
parent2d41058a431988539f2e5b0888ef23de29b2eb75
ath: add missing regdomain pair 0x5c mapping

commit bd39a274fb7b43374c797bafdb7f506598f36f77 upstream.

Joe Culler reported a problem with his AR9170 device:

> ath: EEPROM regdomain: 0x5c
> ath: EEPROM indicates we should expect a direct regpair map
> ath: invalid regulatory domain/country code 0x5c
> ath: Invalid EEPROM contents

It turned out that the regdomain 'APL7_FCCA' was not mapped yet.
According to Luis R. Rodriguez [Atheros' engineer] APL7 maps to
FCC_CTL and FCCA maps to FCC_CTL as well, so the attached patch
should be correct.

Reported-by: Joe Culler <joe.culler@gmail.com>
Acked-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/net/wireless/ath/regd_common.h