libnm: mark wifi.cloned-mac-address GObject property inferrable

ethernet.cloned-mac-address is also marked as inferrable. I think the concept
of NM_SETTING_PARAM_INFERRABLE is fundamentally wrong just like the entire
assume approach. Anyway, if ethernet's property is inferrable, so should
be Wi-Fi's.
This commit is contained in:
Thomas Haller
2019-01-09 12:44:35 +01:00
parent 20a738c92f
commit a75372cc59

View File

@@ -1452,6 +1452,7 @@ nm_setting_wireless_class_init (NMSettingWirelessClass *klass)
g_param_spec_string (NM_SETTING_WIRELESS_CLONED_MAC_ADDRESS, "", "",
NULL,
G_PARAM_READWRITE |
NM_SETTING_PARAM_INFERRABLE |
G_PARAM_STATIC_STRINGS));
_properties_override_add_override (properties_override,