e1000e: Call e1000e_config_collision_dist() after TCTL has been set
authorSimon Horman <horms@verge.net.au>
Mon, 8 Jun 2009 14:28:36 +0000 (14:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Jun 2009 12:25:36 +0000 (05:25 -0700)
commitedfea6e641edee07bc69c70dd978088fc1cecd74
treeac9780ee47595605a8828f4a0d1a54867a08fe9b
parent23a2d1b233f535fc74f8dca66e488980b4db041b
e1000e: Call e1000e_config_collision_dist() after TCTL has been set

e1000e_config_collision_dist() sets tctl, but subsequently tctl is
overwritten.  It seems to me that as things stand the call to
e1000e_config_collision_dist() has no effect and should either be
removed or moved down a little bit.  This kernel patch takes the latter
option.

Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/netdev.c