Search Linux Wireless

Re: iwl3945 lists supported rates backwards

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

 



> --- a/drivers/net/wireless/iwlwifi/iwl3945-base.c
> +++ b/drivers/net/wireless/iwlwifi/iwl3945-base.c
> @@ -5414,10 +5414,10 @@ static int iwl_init_geos(struct iwl_priv *priv)
>  	 * is supported by a mode -- and the first match is taken
>  	 */
>  
> -	if (modes[G].num_channels)
> -		ieee80211_register_hwmode(priv->hw, &modes[G]);
>  	if (modes[B].num_channels)
>  		ieee80211_register_hwmode(priv->hw, &modes[B]);
> +	if (modes[G].num_channels)
> +		ieee80211_register_hwmode(priv->hw, &modes[G]);
>  	if (modes[A].num_channels)
>  		ieee80211_register_hwmode(priv->hw, &modes[A]);

Huh no, you misunderstood my mail.

This makes mac80211 always select 802.11B mode which is not what you
want. You want to change the order of rates within the G mode.

johannes

Attachment: signature.asc
Description: This is a digitally signed message part


[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