ath: fix dynamic user regulatory settings
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>
Tue, 12 Nov 2013 18:33:20 +0000 (19:33 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 15 Nov 2013 19:27:25 +0000 (14:27 -0500)
commit3e850edd58800e7b9b29a8dc2c950ebdf489a3e3
treef1d28c90264dd0b3260624a30971ebebfd6bd1d9
parent32019c739c95d056575e0bb2381f2846c0c49944
ath: fix dynamic user regulatory settings

A world regulatory domain check was in place that
prevents user dynamic regulatory hints from being
processed. This was there for historical reasons
as this was only possible previously for world
roaming cards and dynamic regulatory settings was
only possible for country IEs. Fix this by enforcing
the world regulatory domain check only for when the
initiator is a country IE. Support for dynamic user
regulatory support is already checked.

Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/regd.c