Skip to content

Commit 4d926e8

Browse files
Phil Elwellpopcornmix
Phil Elwell
authored andcommitted
lan78xx: Don't reset the interface on open
With Alexander Graf's patch ("lan78xx: Connect phy early") applied, the call to lan78xx_reset within lan78xx_open prevents the phy interrupt from being generated (even though the link is up). Avoid this issue by removing the lan78xx_reset call. See: #2437 #2442 #2457
1 parent a782353 commit 4d926e8

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

drivers/net/usb/lan78xx.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2352,10 +2352,6 @@ static int lan78xx_open(struct net_device *net)
23522352
if (ret < 0)
23532353
goto out;
23542354

2355-
ret = lan78xx_reset(dev);
2356-
if (ret < 0)
2357-
goto done;
2358-
23592355
phy_start(net->phydev);
23602356

23612357
netif_dbg(dev, ifup, dev->net, "phy initialised successfully");

0 commit comments

Comments
 (0)