aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorLech Perczak <lech.perczak@gmail.com>2023-11-25 03:09:30 +0100
committerChristian Marangi <ansuelsmth@gmail.com>2023-11-27 00:34:49 +0100
commitcee7622ab0cd0d7154f93793a8fc8508c016aa7e (patch)
treecba4b12300b038a8cc2a03bd2bcfc457032ba024 /target/linux
parentfa55f595fbd66ad38e09dbf139dad35b9b6e5804 (diff)
downloadupstream-cee7622ab0cd0d7154f93793a8fc8508c016aa7e.tar.gz
upstream-cee7622ab0cd0d7154f93793a8fc8508c016aa7e.tar.bz2
upstream-cee7622ab0cd0d7154f93793a8fc8508c016aa7e.zip
ath79: fortinet-fap-220-b: fix WLAN MAC addresses
Addresses were swapped compared to the factory firmware. In addition to that, one of them was shifted by -1. Fix that by setting wlan0 MAC offset to 9, and wlan1 MAC offset to 2. Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ath79/dts/ar7161_fortinet_fap-220-b.dts4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ath79/dts/ar7161_fortinet_fap-220-b.dts b/target/linux/ath79/dts/ar7161_fortinet_fap-220-b.dts
index 331bc317141..63fe9ade532 100644
--- a/target/linux/ath79/dts/ar7161_fortinet_fap-220-b.dts
+++ b/target/linux/ath79/dts/ar7161_fortinet_fap-220-b.dts
@@ -101,7 +101,7 @@
ieee80211-freq-limit = <2402000 2482000>;
nvmem-cells = <&macaddr_art_120c>, <&cal_art_1000>;
nvmem-cell-names = "mac-address", "calibration";
- mac-address-increment = <1>;
+ mac-address-increment = <9>;
#gpio-cells = <2>;
gpio-controller;
};
@@ -112,7 +112,7 @@
ieee80211-freq-limit = <2402000 2482000 4900000 5990000>;
nvmem-cells = <&macaddr_art_520c>, <&cal_art_5000>;
nvmem-cell-names = "mac-address", "calibration";
- mac-address-increment = <9>;
+ mac-address-increment = <2>;
#gpio-cells = <2>;
gpio-controller;
};