From b8784a18631c524200e416c90251ea1345088233 Mon Sep 17 00:00:00 2001 From: Deng Xin Date: Mon, 29 Oct 2018 15:28:32 +0800 Subject: [PATCH] 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 --- components/esp32/lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.40.0