staging: et131x: Fix add_timer() from et131x_open
authorMark Einon <mark.einon@gmail.com>
Sat, 1 Oct 2011 10:14:14 +0000 (11:14 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 4 Oct 2011 17:43:14 +0000 (10:43 -0700)
commitd84b7e29d8ea049c352af89db69cff7e791a9418
treebfc62af9045e6e9e0297d1378d1da541e87b225a
parent25e1c2780c2cef0456c850237abd895781d34e44
staging: et131x: Fix add_timer() from et131x_open

The error_timer was only getting initialised and an initial jiffies value set following a probe.
This could result in the timer needlessly expiring immediately after et131x_open is called.
Now this is all done from the open call instead.

Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/et131x/README
drivers/staging/et131x/et131x.h
drivers/staging/et131x/et131x_initpci.c
drivers/staging/et131x/et131x_netdev.c