e1000: check return value of _get_speed_and_duplex
commit592600a0536f0d5aab4dc95f19515a37d03430f8
authorAuke Kok <auke-jan.h.kok@intel.com>
Tue, 27 Jun 2006 16:08:09 +0000 (27 09:08 -0700)
committerAuke Kok <juke-jan.h.kok@intel.com>
Tue, 27 Jun 2006 16:08:09 +0000 (27 09:08 -0700)
tree94b166da5afa2f5494e5154e6ef7109990d2c112
parentee04022a21764a12e29eee144b72344ebfe0a55c
e1000: check return value of _get_speed_and_duplex

We were not checking the return value of get_speed_and_duplex
properly, whih may contain an error value.

Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
drivers/net/e1000/e1000_hw.c