From 862b7b22b55051a7a0c6203551f735bf51361063 Mon Sep 17 00:00:00 2001 From: Deng Xin Date: Thu, 27 Sep 2018 16:46:02 +0800 Subject: [PATCH] Bugfix of no disconnect event report if no correct status code report Problem Description The reporduce steps are as follows: 1.This issue can be reproduced with 4 ESP32 devices, 2 for stations (STA1, STA2) and 2 for soft-AP (AP1, AP2) 2.Configure AP1/AP2 to the same SSID (ssid_xxx) 3.The max allowed WiFi connections of AP1 is configured to 1 and STA1 connects to AP1 4.The AP1 is close to STA2 while AP2 is far away from STA2 (but the STA2 can find the AP2 via scan) 5.STA2 connects ssid_xxx with all scan method 6.The problem will happen on STA2 because it fails to connec AP1 and never connects AP2 Phenmenon STA fail to connect after send auth or assoc with a wrong status code, but no disconnect event report and can not connect the next one in the envrionment Root Cause Because there are some same ssid APs in the evnrionment, when do all channel scan, it will collect all the matched AP in rc list, because rc list is not empty, so it would send disconnect event, however, we didn't do other step such as connect to other one VNC MR 575 closes https://github.com/espressif/esp-idf/issues/2323 --- components/esp32/lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp32/lib b/components/esp32/lib index b8c5796b7..20507c5d4 160000 --- a/components/esp32/lib +++ b/components/esp32/lib @@ -1 +1 @@ -Subproject commit b8c5796b76604c333755ad5a581811ecfcf1462a +Subproject commit 20507c5d44e0d6fcbd5291a23daeff568c84a75e