kernel: refresh phylink patch

Fixes: #863

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen 2023-01-26 18:15:08 +08:00
parent 183c8ec778
commit d839ec4e2d
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -87,11 +87,10 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
- if (pl->phydev)
+ if (pl->phydev) {
phy_start(pl->phydev);
-
- return 0;
+ return 0;
+ }
+
- return 0;
+ /* If the module may have a PHY but we didn't detect one we
+ * need to configure the MAC here.
+ */