[PATCH] AP: Optionally deauth station that auths twice

Jouni Malinen j at w1.fi
Fri Jul 15 10:31:24 EDT 2011


On Wed, Jul 06, 2011 at 08:35:47AM -0700, Paul Stewart wrote:
> I think this is what I read that made me think this behavior was
> related to a specification.  However, as you describe, that behavior
> is for association, and shouldn't even be enabled under normal
> conditions.  with that in mind, I'd consider this "broken behavior",
> however it is behavior I've seen in the field with other devices, and
> I find it useful to be able to optionally turn on this behavior in
> hostapd in order to ensure the kernel, supplicant and connection
> manager handle this correctly.  If you choose to accept this change,
> perhaps I need stronger language in the comment above this option flag
> to say something like "bug compatible" or "emulate quirky behavior for
> testing".

It does not sound justifiable to include this broken behavior in builds
by default both because of increased size of the binaries and because of
making hostapd.conf more confusing. This sounds very much like special
purpose testing code and it could be better to maintain this outside the
hostap.git repository. If you want to get it added into hostap.git, the
changes would at least need to be #ifdef'ed out from the default builds.
 
-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list