mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-22 10:46:59 +00:00
wifi: fix leaking fake AP in NMDeviceWifi's act_stage1_prepare()
Fixes:96f40dcdcd
(cherry picked from commitef61d7909f
)
This commit is contained in:
parent
d01b37c46f
commit
d08530ac4b
|
@ -2593,6 +2593,7 @@ act_stage1_prepare (NMDevice *device, NMDeviceStateReason *out_failure_reason)
|
|||
set_current_ap (self, ap, FALSE);
|
||||
nm_active_connection_set_specific_object (NM_ACTIVE_CONNECTION (req),
|
||||
nm_dbus_object_get_path (NM_DBUS_OBJECT (ap)));
|
||||
g_object_unref (ap);
|
||||
return NM_ACT_STAGE_RETURN_SUCCESS;
|
||||
|
||||
done:
|
||||
|
|
Loading…
Reference in a new issue