manager: use proper reason when stealing a connection

The user-requested reason is not really appropriate and blocks autoreconnect.
We added a new reason precisely for that.

Fixes: 4cb97cf66f
This commit is contained in:
Lubomir Rintel 2015-06-18 15:40:42 -04:00
parent 6849050ad9
commit 2bfbf33720

View file

@ -6135,7 +6135,7 @@ nm_device_steal_connection (NMDevice *self, NMConnection *connection)
&& priv->state < NM_DEVICE_STATE_DEACTIVATING)
nm_device_state_changed (self,
NM_DEVICE_STATE_DEACTIVATING,
NM_DEVICE_STATE_REASON_USER_REQUESTED);
NM_DEVICE_STATE_REASON_NEW_ACTIVATION);
}
void