RSN: Do not try to connect if PMF disabled and AP requires it
authorJouni Malinen <j@w1.fi>
Sun, 25 Oct 2015 13:12:58 +0000 (15:12 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 25 Oct 2015 17:37:17 +0000 (19:37 +0200)
commitfa4642672542e9390aff3247ef63e51ec6ae0663
treee5f9b26b0b6fb032b3685c25ae24a991b9a604f4
parent8acbe7f2a46cb2fb8cadd89c76fa98b037306342
RSN: Do not try to connect if PMF disabled and AP requires it

Instead of trying to associate in configuration that is known to result
in the AP rejecting the association, reject the BSS candidate based on
the MFPR=1 RSN capability when STA configuration has PMF disabled.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/events.c