Skip to content

Commit 0112da9

Browse files
ParthibanI17164gregkh
authored andcommitted
microchip: lan865x: fix missing netif_start_queue() call on device open
[ Upstream commit 1683fd1 ] This fixes an issue where the transmit queue is started implicitly only the very first time the device is registered. When the device is taken down and brought back up again (using `ip` or `ifconfig`), the transmit queue is not restarted, causing packet transmission to hang. Adding an explicit call to netif_start_queue() in lan865x_net_open() ensures the transmit queue is properly started every time the device is reopened. Fixes: 5cd2340 ("microchip: lan865x: add driver support for Microchip's LAN865X MAC-PHY") Signed-off-by: Parthiban Veerasooran <parthiban.veerasooran@microchip.com> Link: https://patch.msgid.link/20250818060514.52795-2-parthiban.veerasooran@microchip.com Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 9603699 commit 0112da9

File tree

1 file changed

+2
-0
lines changed
  • drivers/net/ethernet/microchip/lan865x

1 file changed

+2
-0
lines changed

drivers/net/ethernet/microchip/lan865x/lan865x.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,8 @@ static int lan865x_net_open(struct net_device *netdev)
311311

312312
phy_start(netdev->phydev);
313313

314+
netif_start_queue(netdev);
315+
314316
return 0;
315317
}
316318

0 commit comments

Comments
 (0)