Search Linux Wireless

Re: [PATCH] nl80211: Add event for authentication/association timeout

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

 



On Wed, 2009-04-22 at 21:38 +0300, Jouni Malinen wrote:

> --- uml.orig/net/mac80211/mlme.c	2009-04-22 21:04:47.000000000 +0300
> +++ uml/net/mac80211/mlme.c	2009-04-22 21:10:57.000000000 +0300
> @@ -920,7 +920,7 @@ static void ieee80211_authenticate(struc
>  		       " timed out\n",
>  		       sdata->dev->name, ifmgd->bssid);
>  		ifmgd->state = IEEE80211_STA_MLME_DISABLED;
> -		ieee80211_sta_send_apinfo(sdata);
> +		cfg80211_send_auth_timeout(sdata->dev, ifmgd->bssid);
>  		ieee80211_rx_bss_remove(sdata, ifmgd->bssid,
>  				sdata->local->hw.conf.channel->center_freq,
>  				ifmgd->ssid, ifmgd->ssid_len);
> @@ -1103,7 +1103,7 @@ static void ieee80211_associate(struct i
>  		       " timed out\n",
>  		       sdata->dev->name, ifmgd->bssid);
>  		ifmgd->state = IEEE80211_STA_MLME_DISABLED;
> -		ieee80211_sta_send_apinfo(sdata);
> +		cfg80211_send_assoc_timeout(sdata->dev, ifmgd->bssid);
>  		ieee80211_rx_bss_remove(sdata, ifmgd->bssid,
>  				sdata->local->hw.conf.channel->center_freq,
>  				ifmgd->ssid, ifmgd->ssid_len);
> --- uml.orig/net/wireless/mlme.c	2009-04-22 20:54:06.000000000 +0300

I think you also need to send this if the direct probe step didn't work?
Or do we skip that for nl80211 commands? It normally won't be done since
we've just scanned, but ...

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