1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-18 22:43:53 +01:00

fix ar2315 watchdog restart (patch from #3953)

SVN-Revision: 12775
This commit is contained in:
Felix Fietkau 2008-09-28 20:23:44 +00:00
parent 8ce76ceccb
commit fc59ffea21

@ -81,7 +81,7 @@ ar2315_wdt_interrupt(int irq, void *dev_id)
if(started)
{
printk(KERN_CRIT "watchdog expired, rebooting system\n");
sysRegWrite(AR5315_COLD_RESET, RESET_SYSTEM);
emergency_restart();
} else {
sysRegWrite(AR5315_WDC, 0);
sysRegWrite(AR5315_WD, 0);