Fix: unblock autoreconnect when a previously failed connection is now successful

This commit is contained in:
Antoine Lassagne 2025-10-15 14:57:08 +02:00 committed by Íñigo Huguet
parent 965aa81027
commit 03791e8b2d

View file

@ -2417,7 +2417,10 @@ device_state_changed(NMDevice *device,
} }
if (sett_conn) { if (sett_conn) {
/* Reset auto retries back to default since connection was successful */ /* Reset auto retries back to default since connection was successful */
nm_manager_devcon_autoconnect_retries_reset(priv->manager, device, sett_conn); nm_manager_devcon_autoconnect_reset_reconnect_all(priv->manager,
device,
sett_conn,
FALSE);
} }
/* Since there is no guarantee that device_l3cd_changed() is called /* Since there is no guarantee that device_l3cd_changed() is called