From 83a4ddbd250e2b386bccabb4705d4c58c1a22bcb Mon Sep 17 00:00:00 2001 From: h2zero Date: Mon, 24 Jan 2022 20:55:45 -0700 Subject: [PATCH] mdns: Clear notification value in mdns_hostname_set Merges https://github.com/espressif/esp-idf/pull/8284 --- components/mdns/mdns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/mdns/mdns.c b/components/mdns/mdns.c index 7aaffb78d3..66b62fba83 100644 --- a/components/mdns/mdns.c +++ b/components/mdns/mdns.c @@ -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; }