diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-10-22 13:27:53 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-10-23 18:02:06 (GMT) |
commit | 94e05900770c0abe31200881df93e41d296fe8bd (patch) | |
tree | 8ac0aa8649dfabc32cd38fa90e23c38df5d97169 /drivers/memory/tegra20-mc.c | |
parent | d514aefb8ce89562ef2d7dcddc530e5de6287c4b (diff) | |
download | linux-94e05900770c0abe31200881df93e41d296fe8bd.tar.xz |
ath: use CTL region from cfg80211 if unset in EEPROM
Many AP devices do not have the proper regulatory domain programmed in
EEPROM. Instead they expect the software to set the appropriate region.
For these devices, the country code defaults to US, and the driver uses
the US CTL tables as well.
On devices bought in Europe this can lead to tx power being set too high
on the band edges, even if the cfg80211 regdomain is set correctly.
Fix this issue by taking into account the DFS region, but only when the
EEPROM regdomain is set to default.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/memory/tegra20-mc.c')
0 files changed, 0 insertions, 0 deletions