From: Mithlesh Thukral Date: Wed, 25 Mar 2009 10:19:58 +0000 (+0530) Subject: Staging: sxg: Fire watchdog timer at end of open routine to change the link X-Git-Tag: v2.6.30-rc3~58^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1f895130c0b0dd293b924b1c6cecac90a2e35dc6;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git 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 Signed-off-by: Mithlesh Thukral Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/sxg/sxg.c b/drivers/staging/sxg/sxg.c index 848d4be..52d2ab9 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) 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; }