Hi Johannes,
On 12/07/2016 12:15 AM, Johannes Berg wrote:
I'm afraid to consider what you're like when you _are_ 'super'
against something :)
Why, that's easy, there wouldn't be a long discussion like that ;-)
lol
No, this is the part you didn't understand. Simply authenticating
doesn't actually create anything like a "link" to the AP. The only
Okay, but it is then a bit misleading that iw link reports us being
'connected' during this time for example.
reason we keep the station entry around for a few seconds is that it
*probably* will be used next to associate. But if you don't do that, or
authenticate to some other AP, or do whatever else - nothing stops you
from doing that. There's no connection, nothing really stays active
except for this 5 second grace period to associate.
So even if you crash here like in the example, there's nothing to clean
up, a subsequent authentication attempt to the same or another AP will
go through anyway.
Therefore, there's nothing to "own" with an authentication attempt,
since it doesn't actually keep any (permanent) state in the kernel, and
keeping the station entry around is just an optimisation.
I don't think it's worth trying to clean that up.
Fair enough. I think we can live with that since we're not using
CMD_AUTHENTICATE unless we need to roam using FT.
Regards,
-Denis