wifi: bugfix of assert when do wps with mikrotik

Problem Decribe

The problem happenned when do wps with a mikrotik router
1. router always want to do connect with 32 without EAP-WSC step
2. after 4 way timeour, 32 crash

Root Cause

The reason why can not start EAP-WSC step is router's check method is RSN > WPA > WPS, when it found there include RSN and WPS in assoc, it will choice do 4 way rather than WPS
The reason of second problem is 32's EAPOL start timer didn't stop and send EAPOL start to a null pointer

Soultion
1. remove RSN and WPA ie when do WPS step
2. check mac address's pointer before send EAPOL start

closes: https://github.com/espressif/esp-idf/issues/2382
This commit is contained in:
Deng Xin 2018-10-29 15:28:32 +08:00 committed by bot
parent 98a80ccdab
commit b8784a1863

@ -1 +1 @@
Subproject commit b9b1d799752caa19897c8f60087b29127864cdcc
Subproject commit ee0d0b152f4101ec42ef458f176773b9b7d791e5