diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2015-04-12 15:04:14 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2015-04-12 15:04:14 +0000 |
commit | 6f01238398f55acf95093377d95b8b66630f4670 (patch) | |
tree | 1b34aa55f4915ac85c93b5502121573feb2b9003 | |
parent | d1bedfbdf56fd4a9abe2edcd16d432b85981c0b9 (diff) | |
download | upstream-6f01238398f55acf95093377d95b8b66630f4670.tar.gz upstream-6f01238398f55acf95093377d95b8b66630f4670.tar.bz2 upstream-6f01238398f55acf95093377d95b8b66630f4670.zip |
mvebu: handle other SKUs as well
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
SVN-Revision: 45396
-rw-r--r-- | target/linux/mvebu/base-files/etc/uci-defaults/03_wireless | 13 |
1 files changed, 11 insertions, 2 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 89ed47c91a..ec188fb9e6 100644 --- a/target/linux/mvebu/base-files/etc/uci-defaults/03_wireless +++ b/target/linux/mvebu/base-files/etc/uci-defaults/03_wireless @@ -13,12 +13,21 @@ case "$board" in armada-xp-mamba) SKU=$(strings /dev/mtd3|sed -ne 's/^cert_region=//p') case "$SKU" in - US) - REGD=US + AP) + REGD=CN + ;; + AU) + REGD=AU + ;; + CA) + REGD=CA ;; EU) REGD=DE ;; + US) + REGD=US + ;; esac uci get wireless.radio0.country || uci set wireless.radio0.country=$REGD uci get wireless.radio1.country || uci set wireless.radio1.country=$REGD |