mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-06-19 07:48:30 +02: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
1 changed files with 9 additions and 10 deletions
|
|
@ -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…
Add table
Reference in a new issue