mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
fix(ci) : Fix offchan tx and roc related unit test case
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user