]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
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)
commit1dbf53a28262aa89ecbe653e8a9127c0baef9bc4
tree39936f2646f43f242b920c35eed1286bd18f7069
parent6ed35eea3b96977d76d61b5862a3209044cb4b1f
be2net: fix mbox polling for signal reception

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>
drivers/net/benet/be_cmds.c