ath: fix dynamic user regulatory domain support
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>
Tue, 29 Oct 2013 23:10:07 +0000 (00:10 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 5 Dec 2013 20:45:51 +0000 (15:45 -0500)
commit251c9ba19143caa5eb5b6ec52c77c70c9d7b3d8f
treece58d1454542d6b27e98fd2db1c0f541777bbabe
parentba94c049e555d1701d547025f7d547a582833d03
ath: fix dynamic user regulatory domain support

As it stands dynamic user regulatory domain support is
only possible for a few programmed regulatory domains as
a few countries do not allow for this.

The existing code however only would take advantage of
the feature if a custom world regulatory domain is used
though as that's when we clear beconing flags. We need
to lift this restriction as otherwise this feature is
pointless.

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