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

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

See merge request espressif/esp-idf!46321
This commit is contained in:
Jiang Jiang Jian
2026-03-13 12:22:24 +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()