mdns: Clear notification value in mdns_hostname_set

Merges https://github.com/espressif/esp-idf/pull/8284
This commit is contained in:
h2zero 2022-01-24 20:55:45 -07:00 committed by gabsuren
parent 82c78db4df
commit 83a4ddbd25

View File

@ -5061,7 +5061,7 @@ esp_err_t mdns_hostname_set(const char * hostname)
free(action);
return ESP_ERR_NO_MEM;
}
xTaskNotifyWait(0, 0, NULL, portMAX_DELAY);
xTaskNotifyWait(0, 0x01, NULL, portMAX_DELAY);
return ESP_OK;
}