]> www.infradead.org Git - users/jedix/linux-maple.git/commit
microchip: lan865x: fix missing netif_start_queue() call on device open
authorParthiban Veerasooran <parthiban.veerasooran@microchip.com>
Mon, 18 Aug 2025 06:05:13 +0000 (11:35 +0530)
committerJakub Kicinski <kuba@kernel.org>
Wed, 20 Aug 2025 02:38:25 +0000 (19:38 -0700)
commit1683fd1b2fa79864d3c7a951d9cea0a9ba1a1923
tree759c8ccba2f11b7979e2ab236b140061c8b28d01
parent4f953be88224f57d29db2a0da7c62194e37abc81
microchip: lan865x: fix missing netif_start_queue() call on device open

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: 5cd2340cb6a3 ("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>
drivers/net/ethernet/microchip/lan865x/lan865x.c