Merge branch 'fix/offchan_roc_unit_test_v5.5' into 'release/v5.5'

CI : Fix offchan tx and roc related unit test case(v5.5)

See merge request espressif/esp-idf!45473
This commit is contained in:
Jiang Jiang Jian
2026-03-05 14:41:46 +08:00

View File

@@ -252,9 +252,9 @@ static void test_wifi_roc(void)
pdTRUE, pdFALSE, portMAX_DELAY);
/* Confirm that Frame has been received successfully */
if (bits == WIFI_ACTION_RX_EVENT) {
wifi_roc_req_t req = {0};
req.ifx = WIFI_IF_STA;
/* op_id is retained from previous ROC request */
req.type = WIFI_ROC_CANCEL;
req.rx_cb = NULL;
TEST_ESP_OK(esp_wifi_remain_on_channel(&req));
vTaskDelay(1000 / portTICK_PERIOD_MS);