Search Linux Wireless

Re: Association broken with wpa_supplicant

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

 



On Friday 16 May 2008 16:58:32 John W. Linville wrote:
> Instead of reverting it, could you try applying this one on top of it?
> 
> diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c
> index 508f675..76ad4ed 100644
> --- a/net/mac80211/mlme.c
> +++ b/net/mac80211/mlme.c
> @@ -3440,8 +3440,11 @@ static int ieee80211_sta_config_auth(struct net_device *dev,
>  		if (!(bss->capability & WLAN_CAPABILITY_ESS))
>  			continue;
>  
> -		if (!!(bss->capability & WLAN_CAPABILITY_PRIVACY) ^
> -		    !!sdata->default_key)
> +		if ((ifsta->flags & (IEEE80211_STA_AUTO_SSID_SEL |
> +			IEEE80211_STA_AUTO_BSSID_SEL |
> +			IEEE80211_STA_AUTO_CHANNEL_SEL)) &&
> +		    (!!(bss->capability & WLAN_CAPABILITY_PRIVACY) ^
> +		     !!sdata->default_key))
>  			continue;
>  
>  		if (!(ifsta->flags & IEEE80211_STA_AUTO_CHANNEL_SEL) &&


This patch fixes the bug for me.

-- 
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