public inbox for linux-wireless@vger.kernel.org
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Jouni Malinen <jouni.malinen@atheros.com>
Cc: "John W. Linville" <linville@tuxdriver.com>,
	linux-wireless@vger.kernel.org
Subject: Re: [PATCH] nl80211: Add event for authentication/association timeout
Date: Wed, 22 Apr 2009 21:02:24 +0200	[thread overview]
Message-ID: <1240426944.30082.10.camel@johannes.local> (raw)
In-Reply-To: <20090422183825.GA16766@jm.kir.nu>

[-- Attachment #1: Type: text/plain, Size: 1326 bytes --]

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 #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

      reply	other threads:[~2009-04-22 19:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-22 18:38 [PATCH] nl80211: Add event for authentication/association timeout Jouni Malinen
2009-04-22 19:02 ` Johannes Berg [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=1240426944.30082.10.camel@johannes.local \
    --to=johannes@sipsolutions.net \
    --cc=jouni.malinen@atheros.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox