[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-wireless
Subject: Re: [PATCHv3 2/2] mac80211: in AD-HOC mode wait for the AUTH response
From: Antonio Quartulli <antonio () open-mesh ! com>
Date: 2013-01-31 14:32:43
Message-ID: 20130131142300.GA9750 () open-mesh ! com
[Download RAW message or body]
On Thu, Jan 31, 2013 at 06:18:40 -0800, Nicolas Cavallari wrote:
> On 31/01/2013 14:34, Johannes Berg wrote:
> > That seems reasonable. Actually there's no reason for wpa_s to "reset
> > the [...] sta_info", all it really has to do is set it to unauthorized
> > if it detects it was rebooted, and then start key negotiation again, I
> > think?
>
> I'm not sure why Antonio resetted the sta_info. Not resetting it when a node reboot is
> detected from userspace works for me anyway.
I did that because wpa_s was ignoring the new EAPOL message sent by the rebooted
station. If I am not mistaken wpa_s would not expect a new "unencrypted" key
exchange. When I tried it wa snot working, that's why I came up with the
sta_info reset. But of course, if we could avoid the in-kernel reset, it would
be definitely better.
--
Antonio Quartulli
..each of us alone is worth nothing..
Ernesto "Che" Guevara
[Attachment #3 (application/pgp-signature)]
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic