All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anton Blanchard <anton@samba.org>
To: rt2400-devel@lists.sourceforge.net
Cc: arjan@linux.intel.com, linux-kernel@vger.kernel.org,
	linux-wireless@vger.kernel.org
Subject: [PATCH] jiffies_round -> jiffies_round_relative conversion - rt2x00
Date: Mon, 15 Oct 2007 00:40:34 -0500	[thread overview]
Message-ID: <20071015054034.GC3257@kryten> (raw)
In-Reply-To: <20071015053801.GB3257@kryten>


When rounding a relative timeout we need to use round_jiffies_relative(). 

Signed-off-by: Anton Blanchard <anton@samba.org>
---

diff --git a/drivers/net/wireless/rt2x00/rt2x00lib.h b/drivers/net/wireless/rt2x00/rt2x00lib.h
index 298faa9..06d9bc0 100644
--- a/drivers/net/wireless/rt2x00/rt2x00lib.h
+++ b/drivers/net/wireless/rt2x00/rt2x00lib.h
@@ -30,7 +30,7 @@
  * Interval defines
  * Both the link tuner as the rfkill will be called once per second.
  */
-#define LINK_TUNE_INTERVAL	( round_jiffies(HZ) )
+#define LINK_TUNE_INTERVAL	( round_jiffies_relative(HZ) )
 #define RFKILL_POLL_INTERVAL	( 1000 )
 
 /*

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

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-15  5:34 [PATCH] jiffies_round -> jiffies_round_relative conversion in EDAC drivers Anton Blanchard
2007-10-15  5:38 ` [PATCH] jiffies_round -> jiffies_round_relative conversion - ipw2100/ipw2200 Anton Blanchard
2007-10-15  5:40   ` Anton Blanchard [this message]
2007-10-15  5:42     ` [PATCH] jiffies_round -> jiffies_round_relative conversion - b43/b43legacy Anton Blanchard
2007-10-15 14:02       ` Arjan van de Ven
2007-10-15 14:01     ` [PATCH] jiffies_round -> jiffies_round_relative conversion - rt2x00 Arjan van de Ven
2007-10-15 18:08     ` [Rt2400-devel] " Ivo van Doorn
2007-10-15 14:01   ` [PATCH] jiffies_round -> jiffies_round_relative conversion - ipw2100/ipw2200 Arjan van de Ven
2007-10-17  2:40   ` Zhu Yi
2007-10-15 14:01 ` [PATCH] jiffies_round -> jiffies_round_relative conversion in EDAC drivers Arjan van de Ven

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=20071015054034.GC3257@kryten \
    --to=anton@samba.org \
    --cc=arjan@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=rt2400-devel@lists.sourceforge.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.