be2net: fix mbox polling for signal reception
authorSathya Perla <sathya.perla@emulex.com>
Thu, 12 May 2011 19:32:16 +0000 (19:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 May 2011 18:41:35 +0000 (14:41 -0400)
Sending mbox cmds require multiple steps of writing to the DB register and polling
for an ack. Gettting interrupted in the middle by a signal breaks the mbox protocol.
Use msleep() to not get interrupted.

Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found