mirror of https://github.com/hak5/openwrt-owl.git
parent
89333ac8f7
commit
339eba5fbd
|
@ -186,13 +186,13 @@ static int ar7_wdt_open(struct inode *inode, struct file *file)
|
|||
|
||||
static int ar7_wdt_release(struct inode *inode, struct file *file)
|
||||
{
|
||||
if (!expect_close) {
|
||||
if (!expect_close)
|
||||
printk(KERN_WARNING DRVNAME
|
||||
": watchdog device closed unexpectedly,"
|
||||
"will not disable the watchdog timer\n");
|
||||
} else if (!nowayout) {
|
||||
else if (!nowayout)
|
||||
ar7_wdt_disable_wdt();
|
||||
}
|
||||
|
||||
up(&open_semaphore);
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue