igb: add code to retry a phy read in the event of failure on link check
authorAlexander Duyck <alexander.h.duyck@intel.com>
Mon, 5 Oct 2009 06:35:23 +0000 (06:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Oct 2009 21:59:23 +0000 (14:59 -0700)
This patch adds a retry to phy reads in the event of failure.  The original
code broke out of the loop on failure and this is a mistake as we should be
trying to do the read twice.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found