Przeglądaj źródła

ramips: ArcherC50v1: fix wlan2g MAC address

By default the wlan eprom contains the generic ralink MAC which is not
the vendor (TP-Link) one. Based on OFW bootlog, it appears that addresses
are decremented from the ethernet MAC.

This patch fixes the MAC address for wlan2g in line with OFW.

Signed-off-by: Thibaut VARENE <[email protected]>
Thibaut VARENE 8 lat temu
rodzic
commit
370aacf532
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      target/linux/ramips/dts/ArcherC50.dts

+ 2 - 0
target/linux/ramips/dts/ArcherC50.dts

@@ -170,6 +170,8 @@
 
 &wmac {
 	ralink,mtd-eeprom = <&radio 0>;
+	mtd-mac-address = <&rom 0xf100>;
+	mtd-mac-address-increment = <(-2)>;
 };
 
 &pcie {