device: use "new-activation" reason when deactivating for another activation
"user-requested" has a side effect of disabling autoconnect.
Fixes: 600489003f
This commit is contained in:
@@ -5956,7 +5956,7 @@ nm_device_queue_activation (NMDevice *self, NMActRequest *req)
|
||||
_LOGI (LOGD_DEVICE, "disconnecting for new activation request.");
|
||||
nm_device_state_changed (self,
|
||||
NM_DEVICE_STATE_DEACTIVATING,
|
||||
NM_DEVICE_STATE_REASON_USER_REQUESTED);
|
||||
NM_DEVICE_STATE_REASON_NEW_ACTIVATION);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user