Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 87b43457 authored by Gabor Juhos's avatar Gabor Juhos Committed by Ralf Baechle
Browse files

MIPS: ATH79: Avoid a kernel bug on AR913X



Wireless mac registration causes a BUG on AR913X SoCs due to
a missing 'else'.

Signed-off-by: default avatarGabor Juhos <juhosg@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3182/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent f79eaeb1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -96,7 +96,7 @@ void __init ath79_register_wmac(u8 *cal_data)
{
	if (soc_is_ar913x())
		ar913x_wmac_setup();
	if (soc_is_ar933x())
	else if (soc_is_ar933x())
		ar933x_wmac_setup();
	else
		BUG();