aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorJose Olivera <oliverajeo@gmail.com>2019-05-20 21:10:56 +0800
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-06-28 14:29:41 +0200
commit6b042217d7f0379e8ab7ebc07a4cfe99f3f26b5a (patch)
treebce2415315508722cb322c255fd262bc8e44102b /target/linux
parenta2c556aa8f9505e39af5001e612c0cbf98cbc8e8 (diff)
downloadupstream-6b042217d7f0379e8ab7ebc07a4cfe99f3f26b5a.tar.gz
upstream-6b042217d7f0379e8ab7ebc07a4cfe99f3f26b5a.tar.bz2
upstream-6b042217d7f0379e8ab7ebc07a4cfe99f3f26b5a.zip
mvebu: fix default EU regdomain for Linksys WRT AC devices
The mwlwifi driver sets the default country code for EU (fi- rmware region code 0x30) certified devices to FR (France), not DE (Germany). Whilst this is a trivial fix, novice users may not know how mwlwifi negatively reacts to a non-matching country code and may leave the setting alone. Especially si- nce it is under the advanced settings section in LuCI. Relevant mwlwifi driver code: https://github.com/kaloz/mwlwifi/commit/0a550312ddb5a9e00e8d602d5571598f25a78158 The mwlwifi driver readme states "Please don't change country code and let mwlwifi set it for you." However, OpenWrt's current behaviour does not adhere to this with its default, 'just flashed from factory' setting for EU devices. Signed-off-by: Jose Olivera <oliverajeo@gmail.com> [rebase, extend commit message] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> (cherry picked from commit d0e8b8310f7079ccf250f7eddbdf8b9d319c274d)
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/mvebu/base-files/etc/uci-defaults/03_wireless2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/mvebu/base-files/etc/uci-defaults/03_wireless b/target/linux/mvebu/base-files/etc/uci-defaults/03_wireless
index 3c345ff148..16be496f17 100644
--- a/target/linux/mvebu/base-files/etc/uci-defaults/03_wireless
+++ b/target/linux/mvebu/base-files/etc/uci-defaults/03_wireless
@@ -26,7 +26,7 @@ linksys,caiman|linksys,cobra|linksys,mamba|linksys,shelby|linksys,venom)
REGD=CA
;;
EU)
- REGD=DE
+ REGD=FR
;;
US)
REGD=US