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>
This commit is contained in:
Lech Perczak 2023-11-25 03:09:30 +01:00 committed by Christian Marangi
parent fa55f595fb
commit cee7622ab0
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7

View File

@ -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;
};