From: Deng Xin Date: Mon, 29 Oct 2018 07:28:32 +0000 (+0800) Subject: wifi: bugfix of assert when do wps with mikrotik X-Git-Tag: v3.2-beta1~6^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b8784a18631c524200e416c90251ea1345088233;p=esp-idf 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 --- diff --git a/components/esp32/lib b/components/esp32/lib index b9b1d79975..ee0d0b152f 160000 --- a/components/esp32/lib +++ b/components/esp32/lib @@ -1 +1 @@ -Subproject commit b9b1d799752caa19897c8f60087b29127864cdcc +Subproject commit ee0d0b152f4101ec42ef458f176773b9b7d791e5