igb: reconfigure mailbox timeout logic
authorAlexander Duyck <alexander.h.duyck@intel.com>
Mon, 27 Apr 2009 22:34:54 +0000 (22:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Apr 2009 08:53:12 +0000 (01:53 -0700)
commit3935358ebcb8320965478c0e8ee070e1d65851c8
treed64c72e3152919fdbbe06d5efef21f3dee3b1ae1
parent833cc67c7722e35863c6aaee9df56b442ef957ae
igb: reconfigure mailbox timeout logic

This change updates the timeout logic so that it is not possible to have a
sucessful check for message and still return an error if countdown = 0.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Reported-by: Juha Leppanen <juha_motorsportscom@luukku.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/e1000_mbx.c