Skip to content

Commit b4c8ab3

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 c3a0a4c commit b4c8ab3

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
@@ -2553,10 +2553,6 @@ static int lan78xx_open(struct net_device *net)
25532553
if (ret < 0)
25542554
goto out;
25552555

2556-
ret = lan78xx_reset(dev);
2557-
if (ret < 0)
2558-
goto done;
2559-
25602556
phy_start(net->phydev);
25612557

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

0 commit comments

Comments
 (0)