ath79: fortinet-fap-220-b: fix WLAN MAC addresses
authorLech Perczak <lech.perczak@gmail.com>
Sat, 25 Nov 2023 02:09:30 +0000 (03:09 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Sun, 26 Nov 2023 23:34:49 +0000 (00:34 +0100)
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>
target/linux/ath79/dts/ar7161_fortinet_fap-220-b.dts

index 331bc317141ae96b4098837a0d2f490ca694d2d0..63fe9ade532ad8941f9f7c7d633e0996d5f00269 100644 (file)
                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;
        };
                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;
        };