be2net: Check for POST state in suspend-resume sequence
authorSarveshwar Bandi <sarveshwar.bandi@emulex.com>
Fri, 23 Aug 2013 09:29:33 +0000 (14:59 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Aug 2013 20:55:26 +0000 (16:55 -0400)
commitdd5746bf6b48bb837e9f5af14b9b241fc4fdc1ef
tree193d1d5c61788e49270eed1ad5c78701f97b191e
parent41a00f7950a6bc0aa956f6d6b423f0fbf34d431a
be2net: Check for POST state in suspend-resume sequence

In suspend-resume sequence, the OS could attempt to initialize the controller
before it is ready, check for POST state before going ahead.

Signed-off-by: Sarveshwar Bandi <sarveshwar.bandi@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c