[PATCH] IBSS: fix RSN key initialisation

Jouni Malinen j at w1.fi
Sun Dec 11 12:59:10 EST 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