Use deauthentication instead of disassociation on RSN element mismatch
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 5 Nov 2012 15:01:07 +0000 (17:01 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 5 Nov 2012 15:01:07 +0000 (17:01 +0200)
commit3da372fae8b25a4aec12245b05680646f3bd0ccd
tree72155ef1db45be036a5e5488b352a3a899e42557
parent07783eaaa05c07e2c0071780ed3ebf7d0abfe4b5
Use deauthentication instead of disassociation on RSN element mismatch

Even though the standard currently describes disassociation to be used
for RSN element mismatch between Beacon/Probe Response frames and
EAPOL-Key msg 3/4, this is unnecessary difference from other cases that
deauthenticate. In addition, there is no point in leaving the 802.11
Authentication in place in this case. To keep things simpler, use
deauthentication here to get rid of the only use of
wpa_sm_disassociate().

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
src/rsn_supp/wpa.c