staging: et131x: Update tx trans_start on device close to prevent tx_timeout
authorMark Einon <mark.einon@gmail.com>
Tue, 23 Aug 2011 22:40:40 +0000 (23:40 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 23 Aug 2011 23:25:29 +0000 (16:25 -0700)
commitac657d5884f31a16c900b2ad1098e01ec7fa4145
tree49348b334c37464bef8bac07d586c7b0ab5d66f0
parentc8b7de7fce9cffe97e9d10dbda7b5476e2339d6f
staging: et131x: Update tx trans_start on device close to prevent tx_timeout

Updating the tx trans_start before closing the device prevents a possible tx_timeout occuring during the closing process.
Tested on an ET1310 device.

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