linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Larry Finger <larry.finger@lwfinger.net>
To: Michael Buesch <mb@bu3sch.de>
Cc: John Linville <linville@tuxdriver.com>,
	linux-wireless@vger.kernel.org, bcm43xx-dev@lists.berlios.de,
	Anton Blanchard <anton@samba.org>
Subject: Re: [PATCH] b43: jiffies_round -> jiffies_round_relative conversion - b43/b43legacy
Date: Mon, 15 Oct 2007 10:12:51 -0500	[thread overview]
Message-ID: <47138373.3010703@lwfinger.net> (raw)
In-Reply-To: <200710151452.58150.mb@bu3sch.de>

Michael Buesch wrote:
> When rounding a relative timeout we need to use round_jiffies_relative(). 
> 
> Signed-off-by: Anton Blanchard <anton@samba.org>
> Signed-off-by: Michael Buesch <mb@bu3sch.de>

Acked-by: Larry Finger <Larry.Finger@lwfinger.net>

> ---
> 
> diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c
> index c141a26..41049a4 100644
> --- a/drivers/net/wireless/b43/main.c
> +++ b/drivers/net/wireless/b43/main.c
> @@ -2392,7 +2392,7 @@ out_requeue:
>  	if (b43_debug(dev, B43_DBG_PWORK_FAST))
>  		delay = msecs_to_jiffies(50);
>  	else
> -		delay = round_jiffies(HZ * 15);
> +		delay = round_jiffies_relative(HZ * 15);
>  	queue_delayed_work(wl->hw->workqueue, &dev->periodic_work, delay);
>  out:
>  	mutex_unlock(&wl->mutex);
> diff --git a/drivers/net/wireless/b43legacy/main.c b/drivers/net/wireless/b43legacy/main.c
> index f074951..bd0bd9b 100644
> --- a/drivers/net/wireless/b43legacy/main.c
> +++ b/drivers/net/wireless/b43legacy/main.c
> @@ -2260,7 +2260,7 @@ out_requeue:
>  	if (b43legacy_debug(dev, B43legacy_DBG_PWORK_FAST))
>  		delay = msecs_to_jiffies(50);
>  	else
> -		delay = round_jiffies(HZ);
> +		delay = round_jiffies_relative(HZ);
>  	queue_delayed_work(dev->wl->hw->workqueue,
>  			   &dev->periodic_work, delay);
>  out:
> 
> 
> -------------------------------------------------------
> 


      reply	other threads:[~2007-10-15 15:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-15 12:52 [PATCH] b43: jiffies_round -> jiffies_round_relative conversion - b43/b43legacy Michael Buesch
2007-10-15 15:12 ` Larry Finger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47138373.3010703@lwfinger.net \
    --to=larry.finger@lwfinger.net \
    --cc=anton@samba.org \
    --cc=bcm43xx-dev@lists.berlios.de \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=mb@bu3sch.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).