All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Green <andy@warmcat.com>
To: Larry Finger <Larry.Finger@lwfinger.net>
Cc: linux-wireless <linux-wireless@vger.kernel.org>
Subject: Re: [PATCH] bcm43xx-mac80211: Rescale link quality output
Date: Sun, 05 Aug 2007 07:43:06 +0100	[thread overview]
Message-ID: <46B5717A.6090302@warmcat.com> (raw)
In-Reply-To: <46b56ce8.MTc7K0Zquczk+/6h%Larry.Finger@lwfinger.net>

Somebody in the thread at some point said:
> BCM43xx_RX_MAX_SSI (60)

> +	status.signal = jssi * 100 / BCM43xx_RX_MAX_SSI;

That can't be doing what you intended... (int)100/60 == 1, it just
multiplies jssi by 1.  Maybe some brackets around the multiply?

-Andy

  reply	other threads:[~2007-08-05  6:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-05  6:23 [PATCH] bcm43xx-mac80211: Rescale link quality output Larry Finger
2007-08-05  6:43 ` Andy Green [this message]
2007-08-05  7:26   ` Larry Finger
2007-08-05  7:31     ` Andy Green

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=46B5717A.6090302@warmcat.com \
    --to=andy@warmcat.com \
    --cc=Larry.Finger@lwfinger.net \
    --cc=linux-wireless@vger.kernel.org \
    /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.