wifi: bugfix of assert when do wps with mikrotik
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

espressif/esp-idf,armada-ai/esp-idf,armada-ai/esp-idf,espressif/esp-idf,espressif/esp-idf,armada-ai/esp-idf,armada-ai/esp-idf,espressif/esp-idf