esp_wifi: fix wpa2 enterprise vulnerability issues

Fix following wpa2 enterprise vulnerability issues:
1. The station can complete 4-way handshake after EAP-FAIL is received
2. The station crashes if EAP-SUCCESS is received before PMK is setup
This commit is contained in:
liu zhifu
2019-05-30 21:16:15 +08:00
parent b68f5b4f8c
commit 8009320fb4