mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-07 16:00:21 +01:00
managed: remove unneeded call to nm_device_assume_state_reset()
_set_state_full() in NMDevice already calls nm_device_assume_state_reset() when the device reaches state > DISCONNECTED.
This commit is contained in:
parent
f244aa6907
commit
5dc6d73243
1 changed files with 0 additions and 1 deletions
|
|
@ -2846,7 +2846,6 @@ recheck_assume_connection(NMManager *self, NMDevice *device)
|
|||
|
||||
state = nm_device_get_state(device);
|
||||
if (state > NM_DEVICE_STATE_DISCONNECTED) {
|
||||
nm_device_assume_state_reset(device);
|
||||
_LOG2D(LOGD_DEVICE,
|
||||
device,
|
||||
"assume: don't assume due to device state %s",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue