Merge branch 'bugfix/wps_disable_stop_scan_v5.5' into 'release/v5.5'

fix(wifi): Stop scan when wps is disabled (v5.5)

See merge request espressif/esp-idf!46320
This commit is contained in:
Jiang Jiang Jian
2026-03-06 20:00:28 +08:00
@@ -1635,6 +1635,7 @@ static int wifi_wps_disable_internal(void *ctx, void *data)
if (wps_get_status() == WPS_STATUS_PENDING) {
esp_wifi_disconnect();
}
esp_wifi_scan_stop();
wps_set_status(WPS_STATUS_DISABLE);
/* Call wps_delete_timer to delete all WPS timer, no timer will call wps_post()