From cee7622ab0cd0d7154f93793a8fc8508c016aa7e Mon Sep 17 00:00:00 2001 From: Lech Perczak Date: Sat, 25 Nov 2023 03:09:30 +0100 Subject: [PATCH] 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 --- target/linux/ath79/dts/ar7161_fortinet_fap-220-b.dts | 4 ++-- 1 file 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 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; }; -- 2.30.2