Search Linux Wireless

Re: [PATCH] bcm43xx-mac80211: Fix error in initiallizing max RSSI and max signal

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

 



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@xxxxxxxxxxxx>
> ---
> 
> 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@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 

-- 
Greetings Michael.
-
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