mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-28 19:20:30 +00:00
net: ethernet: mtk_eth_soc: do not overwrite mtu configuration running reset routine
[ Upstream commitb677d6c7a6] Restore user configured MTU running mtk_hw_init() during tx timeout routine since it will be overwritten after a hw reset. Reported-by: Felix Fietkau <nbd@nbd.name> Fixes:9ea4d31150("net: ethernet: mediatek: add the whole ethernet reset into the reset process") Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
38e2a92cd1
commit
2bf8461ee3
1 changed files with 34 additions and 19 deletions
Loading…
Add table
Add a link
Reference in a new issue