WiFi: bugfix of no disconnect event report if no correct status code report

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
This commit is contained in:
Deng Xin 2018-09-26 15:35:03 +08:00
parent 252b9ad5ea
commit b557cca6b9

@ -1 +1 @@
Subproject commit b9578281990fea536f05d1a6d511c323cedfc50a
Subproject commit df485b43e99a93c1a8d7a64227a72621730ce57f