diff options
Diffstat (limited to 'drivers/net/wireless/orinoco/orinoco_plx.c')
-rw-r--r-- | drivers/net/wireless/orinoco/orinoco_plx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/orinoco/orinoco_plx.c b/drivers/net/wireless/orinoco/orinoco_plx.c index b8f6e5c431ae..8b045236b6e0 100644 --- a/drivers/net/wireless/orinoco/orinoco_plx.c +++ b/drivers/net/wireless/orinoco/orinoco_plx.c | |||
@@ -121,7 +121,7 @@ static int orinoco_plx_cor_reset(struct orinoco_private *priv) | |||
121 | mdelay(1); | 121 | mdelay(1); |
122 | 122 | ||
123 | /* Just in case, wait more until the card is no longer busy */ | 123 | /* Just in case, wait more until the card is no longer busy */ |
124 | timeout = jiffies + (PLX_RESET_TIME * HZ / 1000); | 124 | timeout = jiffies + msecs_to_jiffies(PLX_RESET_TIME); |
125 | reg = hermes_read_regn(hw, CMD); | 125 | reg = hermes_read_regn(hw, CMD); |
126 | while (time_before(jiffies, timeout) && (reg & HERMES_CMD_BUSY)) { | 126 | while (time_before(jiffies, timeout) && (reg & HERMES_CMD_BUSY)) { |
127 | mdelay(1); | 127 | mdelay(1); |