generic: mtk_eth_soc: don't crash if WO firmware is missing
authorDaniel Golle <daniel@makrotopia.org>
Tue, 9 May 2023 00:13:59 +0000 (02:13 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 15 May 2023 18:55:39 +0000 (20:55 +0200)
commit67c1e7ad9bc75aa246ec4a38ab7ae7f088756fc6
treec96b59751c70563224efd1908c12a7a5071e2e66
parentff5d08799b741d021a9fa86927fac4f86f34b572
generic: mtk_eth_soc: don't crash if WO firmware is missing

Import patch to prevent crashes in case WO firmware is missing on devices
with only a single frontend (eg. MT7981+MT7976).

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/generic/backport-5.15/733-v6.4-22-net-ethernet-mtk_eth_soc-fix-NULL-pointer-dereferenc.patch [new file with mode: 0644]