mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-30 10:02:53 +00:00
ipq807x: fix LAN2 on the new EAP101 PCB
The second LAN port is not setup correctly due to the new PHY. Fixes: WIFI-6152 Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
14
feeds/ipq807x/qca-ssdk/patches/200-eap101.patch
Normal file
14
feeds/ipq807x/qca-ssdk/patches/200-eap101.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user