[PATCH] IBSS: fix RSN key initialisation

Jouni Malinen j
Sun Dec 11 09:59:10 PST 2011

On Sun, Dec 11, 2011 at 06:54:43PM +0100, Johannes Berg wrote:
> Antonio reported that RSN IBSS failed to work.
> We traced it down to a GTK failure, and he then
> bisected it to commit bdffdc5ddb0c838af4c90d11:
> "AP: Reorder WPA/Beacon initialization".
> The reason this commit broke it is that the state
> machine's GInit variable is never set to false as
> wpa_init_keys() never gets called, and thus new
> keys are generated every time the state machine
> executes.
> Fix this by calling wpa_init_keys() when the new
> group has been initialised.

Thanks, applied.

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list