mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-01 19:46:51 +00:00
parent
8ce76ceccb
commit
fc59ffea21
@ -81,7 +81,7 @@ ar2315_wdt_interrupt(int irq, void *dev_id)
|
|||||||
if(started)
|
if(started)
|
||||||
{
|
{
|
||||||
printk(KERN_CRIT "watchdog expired, rebooting system\n");
|
printk(KERN_CRIT "watchdog expired, rebooting system\n");
|
||||||
sysRegWrite(AR5315_COLD_RESET, RESET_SYSTEM);
|
emergency_restart();
|
||||||
} else {
|
} else {
|
||||||
sysRegWrite(AR5315_WDC, 0);
|
sysRegWrite(AR5315_WDC, 0);
|
||||||
sysRegWrite(AR5315_WD, 0);
|
sysRegWrite(AR5315_WD, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user