diff options
Diffstat (limited to 'drivers/net/wireless/ipw2200.c')
-rw-r--r-- | drivers/net/wireless/ipw2200.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/net/wireless/ipw2200.c b/drivers/net/wireless/ipw2200.c index 7cb2052a55a5..aa32a97380ec 100644 --- a/drivers/net/wireless/ipw2200.c +++ b/drivers/net/wireless/ipw2200.c | |||
@@ -1751,7 +1751,7 @@ static int ipw_radio_kill_sw(struct ipw_priv *priv, int disable_radio) | |||
1751 | /* Make sure the RF_KILL check timer is running */ | 1751 | /* Make sure the RF_KILL check timer is running */ |
1752 | cancel_delayed_work(&priv->rf_kill); | 1752 | cancel_delayed_work(&priv->rf_kill); |
1753 | queue_delayed_work(priv->workqueue, &priv->rf_kill, | 1753 | queue_delayed_work(priv->workqueue, &priv->rf_kill, |
1754 | 2 * HZ); | 1754 | round_jiffies(2 * HZ)); |
1755 | } else | 1755 | } else |
1756 | queue_work(priv->workqueue, &priv->up); | 1756 | queue_work(priv->workqueue, &priv->up); |
1757 | } | 1757 | } |
@@ -4690,7 +4690,8 @@ static void ipw_rx_notification(struct ipw_priv *priv, | |||
4690 | else if (priv->config & CFG_BACKGROUND_SCAN | 4690 | else if (priv->config & CFG_BACKGROUND_SCAN |
4691 | && priv->status & STATUS_ASSOCIATED) | 4691 | && priv->status & STATUS_ASSOCIATED) |
4692 | queue_delayed_work(priv->workqueue, | 4692 | queue_delayed_work(priv->workqueue, |
4693 | &priv->request_scan, HZ); | 4693 | &priv->request_scan, |
4694 | round_jiffies(HZ)); | ||
4694 | 4695 | ||
4695 | /* Send an empty event to user space. | 4696 | /* Send an empty event to user space. |
4696 | * We don't send the received data on the event because | 4697 | * We don't send the received data on the event because |