[PATCHv2] fix endless loop in PTKCALCNEGOTIATING (was: Endless loop in hostapd trunk SHA implementation)

Jouni Malinen j
Sat Aug 4 10:58:27 PDT 2012


On Sat, Jul 07, 2012 at 01:20:23AM +0200, michael-dev wrote:
> This is due to the patch for wpa-psk radius support, which changes
> hostapd_wpa_auth_get_psk to return always return the radius supplied
> psk (if set) and ignores the prev_psk parameter for iteration.
> Attached comes a patch that fixes this by virtually appending the
> radius supplied psk to the list iterated by hostapd_get_psk and thus
> returning NULL when prev_psk == sta->psk (radius).

Thanks! Applied.
 
-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list