From: Johannes Berg <johannes@sipsolutions.net>
To: Paul Stewart <pstew@google.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH] mac80211: auth retries if AP sends temporary deauth
Date: Sun, 27 Jun 2010 09:49:15 +0200 [thread overview]
Message-ID: <1277624955.3684.0.camel@jlt3.sipsolutions.net> (raw)
In-Reply-To: <AANLkTilhbYTH2gKJsvqDaMzLG2cIt2tNV-GW-X0K3pNJ@mail.gmail.com>
On Fri, 2010-06-25 at 00:33 -0700, Paul Stewart wrote:
> If a STA gets sent a DEAUTH from an AP it is actively trying to
> authenticate to, mac80211 currently shoots itself in the foot by
> letting ieee80211_sta_rx_mgmt() clean up state for the connection
> (removing an entry from authtry_bsses[] in wireless/mlme.c),
> but the retry loop contiinues, leading to a kernel warning but no
> connection.
>
> An AP is allowed by the spec to return DEAUTH as a result of a
> temporary failure, one of which is "you are already authenticated
> -- what are you talking about?"
Do you know the reason code for that? I think the check here should be
more fine-grained.
johannes
next prev parent reply other threads:[~2010-06-27 7:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-25 7:33 [PATCH] mac80211: auth retries if AP sends temporary deauth Paul Stewart
2010-06-27 7:49 ` Johannes Berg [this message]
2010-06-29 17:35 ` John W. Linville
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=1277624955.3684.0.camel@jlt3.sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=linux-wireless@vger.kernel.org \
--cc=pstew@google.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;
as well as URLs for NNTP newsgroup(s).