projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d43f361
)
Staging: sxg: Fire watchdog timer at end of open routine to change the link
author
Mithlesh Thukral
<mithlesh@linsyssoft.com>
Wed, 25 Mar 2009 10:19:58 +0000
(15:49 +0530)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 17 Apr 2009 18:06:31 +0000
(11:06 -0700)
The watchdog timer which updates the link status was not fired at the
end of sxg_entry_open(). Add that.
Signed-off-by: LinSysSoft Sahara Team <saharaproj@linsyssoft.com>
Signed-off-by: Mithlesh Thukral <mithlesh@linsyssoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/sxg/sxg.c
patch
|
blob
|
history
diff --git
a/drivers/staging/sxg/sxg.c
b/drivers/staging/sxg/sxg.c
index 848d4be85a3d94d151e13672c1ceeb26da035499..52d2ab970709b2a69cd9077bb114898ccdf658e1 100644
(file)
--- a/
drivers/staging/sxg/sxg.c
+++ b/
drivers/staging/sxg/sxg.c
@@
-2254,6
+2254,8
@@
static int sxg_entry_open(struct net_device *dev)
DBG_ERROR("sxg: %s EXIT\n", __func__);
spin_unlock_irqrestore(&sxg_global.driver_lock, sxg_global.flags);
+ mod_timer(&adapter->watchdog_timer, jiffies);
+
return STATUS_SUCCESS;
}