From: Lech Perczak Date: Sat, 25 Nov 2023 02:09:30 +0000 (+0100) Subject: ath79: fortinet-fap-220-b: fix WLAN MAC addresses X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=cee7622ab0cd0d7154f93793a8fc8508c016aa7e;p=openwrt%2Fstaging%2Fthess.git 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 --- 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 331bc31714..63fe9ade53 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; };