mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-14 20:18:39 +00:00
iwd: Don't add connection.interface-name by default
This setting can't be handled IWD (e.g. during autoactivations performed by IWD) and although for manual activations NM will probably check it, there's no reason for the IWD backend to restrict new profiles to one interface plus when running IWD the udev permanent interface naming is likely to be broken. https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/886
This commit is contained in:
parent
18c76388f0
commit
35a1d89a96
|
@ -1045,16 +1045,15 @@ complete_connection(NMDevice * device,
|
|||
}
|
||||
|
||||
ssid_utf8 = iwd_ssid_to_str(ssid);
|
||||
nm_utils_complete_generic(
|
||||
nm_device_get_platform(device),
|
||||
connection,
|
||||
NM_SETTING_WIRELESS_SETTING_NAME,
|
||||
existing_connections,
|
||||
ssid_utf8,
|
||||
ssid_utf8,
|
||||
NULL,
|
||||
nm_setting_wireless_get_mac_address(s_wifi) ? NULL : nm_device_get_iface(device),
|
||||
TRUE);
|
||||
nm_utils_complete_generic(nm_device_get_platform(device),
|
||||
connection,
|
||||
NM_SETTING_WIRELESS_SETTING_NAME,
|
||||
existing_connections,
|
||||
ssid_utf8,
|
||||
ssid_utf8,
|
||||
NULL,
|
||||
NULL,
|
||||
TRUE);
|
||||
|
||||
if (hidden)
|
||||
g_object_set(s_wifi, NM_SETTING_WIRELESS_HIDDEN, TRUE, NULL);
|
||||
|
|
Loading…
Reference in a new issue