diff options
author | Mithlesh Thukral <mithlesh@linsyssoft.com> | 2009-03-25 06:19:58 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-04-17 14:06:31 -0400 |
commit | 1f895130c0b0dd293b924b1c6cecac90a2e35dc6 (patch) | |
tree | 33ba0796a643333743dd73a661f4cd6dc39e10b2 /drivers | |
parent | d43f3612818b13f44e12bfc2ad75b4b46628b3da (diff) |
Staging: sxg: Fire watchdog timer at end of open routine to change the link
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/sxg/sxg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/staging/sxg/sxg.c b/drivers/staging/sxg/sxg.c index 848d4be85a3d..52d2ab970709 100644 --- 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) | |||
2254 | DBG_ERROR("sxg: %s EXIT\n", __func__); | 2254 | DBG_ERROR("sxg: %s EXIT\n", __func__); |
2255 | 2255 | ||
2256 | spin_unlock_irqrestore(&sxg_global.driver_lock, sxg_global.flags); | 2256 | spin_unlock_irqrestore(&sxg_global.driver_lock, sxg_global.flags); |
2257 | mod_timer(&adapter->watchdog_timer, jiffies); | ||
2258 | |||
2257 | return STATUS_SUCCESS; | 2259 | return STATUS_SUCCESS; |
2258 | } | 2260 | } |
2259 | 2261 | ||