sky2: fix transmit state on resume
commitef24adc26f1c2712b9bc759116b30f721a7a5b61
authorStephen Hemminger <shemminger@linux-foundation.org>
Fri, 28 Sep 2007 16:48:14 +0000 (28 09:48 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 10 Oct 2007 17:50:15 +0000 (10 10:50 -0700)
tree6fbe52dd843cc6854774a1f7d598420b79e4aa55
parentdc8a4bca289e51866f01a41a29793199cd0e28f0
sky2: fix transmit state on resume

Already upstream.

After resume, driver has reset the chip so the current state
of transmit checksum offload state machine and DMA state machine
will be undefined.

The fix is to set the state so that first Tx will set MSS and offset
values.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/sky2.c