mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-07-06 17:35:20 +02:00
net: plip: fix break; causing plip to never transmit
[ Upstream commitf99cf996ba
] Since commit71ae2cb305
("net: plip: Fix fall-through warnings for Clang") plip was not able to send any packets, this patch replaces one unintended break; with fallthrough; which was originally missed by commit9525d69a36
("net: plip: mark expected switch fall-throughs"). I have verified with a real hardware PLIP connection that everything works once again after applying this patch. Fixes:71ae2cb305
("net: plip: Fix fall-through warnings for Clang") Signed-off-by: Jakub Boehm <boehm.jakub@gmail.com> Reviewed-by: Simon Horman <horms@kernel.org> Message-ID: <20241015-net-plip-tx-fix-v1-1-32d8be1c7e0b@gmail.com> Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
641c1beed5
commit
64854b2187
|
@ -815,7 +815,7 @@ plip_send_packet(struct net_device *dev, struct net_local *nl,
|
||||||
return HS_TIMEOUT;
|
return HS_TIMEOUT;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
fallthrough;
|
||||||
|
|
||||||
case PLIP_PK_LENGTH_LSB:
|
case PLIP_PK_LENGTH_LSB:
|
||||||
if (plip_send(nibble_timeout, dev,
|
if (plip_send(nibble_timeout, dev,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user