mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-28 01:40:33 +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.
(cherry picked from commit 5dc6d73243)
This commit is contained in:
parent
943aa1a858
commit
efe8046c1d
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