]> granicus.if.org Git - esp-idf/commitdiff
WiFi: bugfix of no disconnect event report if no correct status code report
authorDeng Xin <dengxin@espressif.com>
Wed, 26 Sep 2018 07:35:03 +0000 (15:35 +0800)
committerDeng Xin <dengxin@espressif.com>
Sat, 29 Sep 2018 08:16:22 +0000 (16:16 +0800)
Problem Description

The reporduce steps are as follows:
1. put more than one same ssid AP in the environment;
2. set the STA mac address in one of the APs blacklist, and make sure the AP is closest to STA;
3. set the scan method in station config as all channel scan;
4. try to connect the AP which set STA in blacklist

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 570

closes https://github.com/espressif/esp-idf/issues/2323

components/esp32/lib

index b9578281990fea536f05d1a6d511c323cedfc50a..df485b43e99a93c1a8d7a64227a72621730ce57f 160000 (submodule)
@@ -1 +1 @@
-Subproject commit b9578281990fea536f05d1a6d511c323cedfc50a
+Subproject commit df485b43e99a93c1a8d7a64227a72621730ce57f