All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Buesch <mb@bu3sch.de>
To: Larry Finger <Larry.Finger@lwfinger.net>
Cc: John Linville <linville@tuxdriver.com>,
	Bcm43xx-dev@lists.berlios.de, linux-wireless@vger.kernel.org
Subject: Re: [PATCH] bcm43xx-mac80211: Fix error in initiallizing max RSSI and max signal
Date: Sat, 7 Apr 2007 20:47:23 +0200	[thread overview]
Message-ID: <200704072047.24192.mb@bu3sch.de> (raw)
In-Reply-To: <4617dc25.vXqEEvwca/gaq2Cw%Larry.Finger@lwfinger.net>

On Saturday 07 April 2007 20:00, Larry Finger wrote:
> In bcm43xx-mac80211, the max_rssi and max_signal values sent to mac80211 are reversed.
> 
> Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
> ---
> 
> John,
> 
> This is wireless-dev material.

I applied it to my tree, thanks.

> Michael,
> 
> It can also be applied to the mb tree.
> 
> Larry
> 
>  bcm43xx_main.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> Index: wireless-dev/drivers/net/wireless/mac80211/bcm43xx/bcm43xx_main.c
> ===================================================================
> --- wireless-dev.orig/drivers/net/wireless/mac80211/bcm43xx/bcm43xx_main.c
> +++ wireless-dev/drivers/net/wireless/mac80211/bcm43xx/bcm43xx_main.c
> @@ -3760,8 +3760,8 @@ static int bcm43xx_wireless_init(struct 
>  		    IEEE80211_HW_MONITOR_DURING_OPER |
>  		    IEEE80211_HW_DEVICE_HIDES_WEP |
>  		    IEEE80211_HW_WEP_INCLUDE_IV;
> -	hw->max_rssi = -110;
> -	hw->max_signal = BCM43xx_RX_MAX_SSI;
> +	hw->max_signal = -110;
> +	hw->max_rssi = BCM43xx_RX_MAX_SSI;
>  	hw->max_noise = -110;
>  	hw->queues = 1;
>  	SET_IEEE80211_DEV(hw, dev->dev);
> -
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 

-- 
Greetings Michael.

      reply	other threads:[~2007-04-07 18:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-07 18:00 [PATCH] bcm43xx-mac80211: Fix error in initiallizing max RSSI and max signal Larry Finger
2007-04-07 18:47 ` Michael Buesch [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=200704072047.24192.mb@bu3sch.de \
    --to=mb@bu3sch.de \
    --cc=Bcm43xx-dev@lists.berlios.de \
    --cc=Larry.Finger@lwfinger.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    /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.