From 334177bdc30caf7f8dc9577e3380a5739244ab35 Mon Sep 17 00:00:00 2001 From: Beniamino Galvani Date: Mon, 22 Apr 2024 17:46:26 +0200 Subject: [PATCH] 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. --- src/core/devices/wifi/nm-device-wifi-p2p.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/core/devices/wifi/nm-device-wifi-p2p.c b/src/core/devices/wifi/nm-device-wifi-p2p.c index 981811a3b1..a8a70485a5 100644 --- a/src/core/devices/wifi/nm-device-wifi-p2p.c +++ b/src/core/devices/wifi/nm-device-wifi-p2p.c @@ -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; }