FIX: Keep timer active if start() fails during activation. This can fix possible lockups when using LinkUniversal::waitFor(...)

This commit is contained in:
Rodrigo Alfonso 2025-01-15 08:25:51 -03:00
parent 7548e2ca9b
commit 6d0ced0bbd

View File

@ -1446,9 +1446,6 @@ class LinkWireless {
stop();
bool success = start();
if (!success)
stop();
LINK_BARRIER;
isEnabled = wasEnabled;
LINK_BARRIER;