wifi-p2p: don't add pending action for group interface

The group interface is only used during activation; there is no need
to add a pending action for it, because when the device is in
activating state it already delays "startup-complete" via other
pending actions.
This commit is contained in:
Beniamino Galvani 2024-04-22 17:46:26 +02:00 committed by Íñigo Huguet
parent d4204dc452
commit 334177bdc3

View File

@ -774,7 +774,6 @@ supplicant_group_iface_is_ready(NMDeviceWifiP2P *self)
return;
}
_set_is_waiting_for_supplicant(self, FALSE);
check_group_iface_ready(self);
}
@ -875,7 +874,6 @@ supplicant_iface_group_started_cb(NMSupplicantInterface *iface,
state = nm_supplicant_interface_get_state(priv->group_iface);
if (state == NM_SUPPLICANT_INTERFACE_STATE_STARTING) {
_set_is_waiting_for_supplicant(self, TRUE);
return;
}