qlcnic: Do not sleep while holding spinlock
authorShahed Shaikh <shahed.shaikh@qlogic.com>
Fri, 21 Jun 2013 16:09:42 +0000 (12:09 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Jun 2013 07:28:28 +0000 (00:28 -0700)
commitf57da7a65b386dd4535daa4f7a3773a025fbb022
tree810364eb46a754b2179e17331636f7606dae747d
parentb90fc27a64a57b273351ceef7ae298558ff8a6ac
qlcnic: Do not sleep while holding spinlock

This patch reverts commit a4791254b6625b06aa33e36304f6e8a1a4a1fdea
("qlcnic: change mdelay to msleep") which overwrote a commit
68b3f28c11bf896be32ad2a2e151aaa5f4a7c98e
("qlcnic: Fix scheduling while atomic bug")

Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c