Search Linux Wireless

Re: [PATCH 3/5] rt2x00: Fix the interval for rfkill and link_tuner.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Apr 26, 2009 at 04:09:11PM +0200, Ivo van Doorn wrote:
> From: Alban Browaeys <prahal@xxxxxxxxx>
> 
> extra parenthesis made the value an argument and the value of the
> define empty. This was triggering those very fast.
> 
> Signed-off-by: Alban Browaeys <prahal@xxxxxxxxx>
> Signed-off-by: Ivo van Doorn <IvDoorn@xxxxxxxxx>

???

If that were so, wouldn't that have caused compile-time errors?

John

> ---
>  drivers/net/wireless/rt2x00/rt2x00lib.h |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/net/wireless/rt2x00/rt2x00lib.h b/drivers/net/wireless/rt2x00/rt2x00lib.h
> index aa284e4..747178c 100644
> --- a/drivers/net/wireless/rt2x00/rt2x00lib.h
> +++ b/drivers/net/wireless/rt2x00/rt2x00lib.h
> @@ -32,8 +32,8 @@
>   * Interval defines
>   * Both the link tuner as the rfkill will be called once per second.
>   */
> -#define LINK_TUNE_INTERVAL	( round_jiffies_relative(HZ) )
> -#define RFKILL_POLL_INTERVAL	( 1000 )
> +#define LINK_TUNE_INTERVAL	round_jiffies_relative(HZ)
> +#define RFKILL_POLL_INTERVAL	1000
>  
>  /*
>   * rt2x00_rate: Per rate device information
> -- 
> 1.6.2.3
> 
> 

-- 
John W. Linville		Someday the world will need a hero, and you
linville@xxxxxxxxxxxxx			might be all we have.  Be ready.
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux