[PATCH] Add state message sent after 'status' command

Jouni Malinen j
Sun Nov 17 08:26:59 PST 2013

I applied this in order to support the current Android framework design.
However, it is quite bad design to make the STATUS command generate an
event message (or well, even worse to generate the CTRL-EVENT-CONNECTED
event since it could result in unintended duplicated operations like
DHCP update on other systems). As such, I would strongly discourage the
use of this mechanism and hope that Android framework moves away from
depending this hack in the future. The proper way to get this type of
information would be to look at the STATUS command return value which
include lot of the information and if anything is missing from there, it
can be added easily.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list