forked from espressif/esp-protocols
mdns_search_once_t::lock is used to synchronize tasks (taken by one task and given by the other) so it should not be a mutex. Convert to semaphore, and rename to indicate its purpose. * Original commit: espressif/esp-idf@eef0b5090a