Browse Source

qlcnic: change mdelay to msleep

Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Shahed Shaikh 12 years ago
parent
commit
a4791254b6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c

+ 1 - 1
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ctx.c

@@ -644,7 +644,7 @@ void qlcnic_fw_destroy_ctx(struct qlcnic_adapter *adapter)
 				qlcnic_83xx_config_intrpt(adapter, 0);
 		}
 		/* Allow dma queues to drain after context reset */
-		mdelay(20);
+		msleep(20);
 	}
 }