mirror of https://github.com/hak5/openwrt-owl.git
11 lines
267 B
Diff
11 lines
267 B
Diff
|
--- a/arch/mips/ath79/setup.c
|
||
|
+++ b/arch/mips/ath79/setup.c
|
||
|
@@ -40,6 +40,7 @@ static char ath79_sys_type[ATH79_SYS_TYP
|
||
|
|
||
|
static void ath79_restart(char *command)
|
||
|
{
|
||
|
+ local_irq_disable();
|
||
|
ath79_device_reset_set(AR71XX_RESET_FULL_CHIP);
|
||
|
for (;;)
|
||
|
if (cpu_wait)
|