[BNX2]: Use msleep().
authorArjan van de Ven <arjan@linux.intel.com>
Tue, 28 Aug 2007 21:34:43 +0000 (14:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 28 Aug 2007 21:34:43 +0000 (14:34 -0700)
commit8e54588161577435d64dfb5cfdf40a73a5705ea0
treea5554c75dd84e56adf03de38876a3167d7b88247
parentb07d68b5ca4d55a16fab223d63d5fb36f89ff42f
[BNX2]: Use msleep().

bnx2.c (incorrectly) sets current->state directly to
TASK_UNINTERRUPTIBLE, without going through set_task_state(). However
all the code wants to do is an msleep so just make it do that instead...

Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Acked-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2.c