mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-30 01:52:51 +00:00
mediatek: Fix MAC assignment for eth ports on Edgecore EAP112
Fixes: WIFI-14319 Signed-off-by: Tanya Singh <tanya_singh@accton.com>
This commit is contained in:
committed by
John Crispin
parent
5f1d562f61
commit
ee80309fc3
@@ -4,7 +4,7 @@
|
||||
mtk_qdma_debugfs_init(eth);
|
||||
}
|
||||
|
||||
+ if (of_machine_is_compatible("edgecore,eap111")) {
|
||||
+ if (of_machine_is_compatible("edgecore,eap111") || of_machine_is_compatible("edgecore,eap112")) {
|
||||
+ sprintf(eth->netdev[0]->name, "eth1");
|
||||
+ sprintf(eth->netdev[1]->name, "eth0");
|
||||
+ }
|
||||
Reference in New Issue
Block a user