Merge branch 'bugfix/fix_sta_scan_when_already_connected' into 'master'

esp-wifi: Restores station status to connected when no other AP is found for roam

Closes WIFI-4785

See merge request espressif/esp-idf!20120

\[WiFi\]Fixed the bug that station connected to an AP already connected caused subsequent scan fail.
This commit is contained in:
Jash Gujarathi
2022-09-20 20:59:44 +08:00