From 77b7203160c3fd0870c9a1d93b80b3c960c783f9 Mon Sep 17 00:00:00 2001 From: Jose Olivera Date: Mon, 20 May 2019 21:10:56 +0800 Subject: [PATCH] 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. 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 [rebase, extend commit message] Signed-off-by: Adrian Schmutzler --- .../mvebu/cortexa9/base-files/etc/uci-defaults/03_wireless | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/mvebu/cortexa9/base-files/etc/uci-defaults/03_wireless b/target/linux/mvebu/cortexa9/base-files/etc/uci-defaults/03_wireless index 91bcbba253..6d4298c098 100644 --- a/target/linux/mvebu/cortexa9/base-files/etc/uci-defaults/03_wireless +++ b/target/linux/mvebu/cortexa9/base-files/etc/uci-defaults/03_wireless @@ -29,7 +29,7 @@ linksys,wrt32x) REGD=CA ;; EU) - REGD=DE + REGD=FR ;; US) REGD=US