mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-29 17:42:41 +00:00
The second LAN port is not setup correctly due to the new PHY. Fixes: WIFI-6152 Signed-off-by: John Crispin <john@phrozen.org>
15 lines
390 B
Diff
15 lines
390 B
Diff
diff --git a/src/hsl/phy/hsl_phy.c b/src/hsl/phy/hsl_phy.c
|
|
index 5866a522..41227581 100755
|
|
--- a/src/hsl/phy/hsl_phy.c
|
|
+++ b/src/hsl/phy/hsl_phy.c
|
|
@@ -608,6 +608,9 @@ hsl_port_phyid_get(a_uint32_t dev_id, fal_port_t port_id)
|
|
return INVALID_PHY_ID;
|
|
}
|
|
|
|
+ if (phy_id == MALIBU5PORT_PHY && of_machine_is_compatible("edgecore,eap101"))
|
|
+ phy_id = MALIBU2PORT_PHY;
|
|
+
|
|
return phy_id;
|
|
}
|
|
|