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:
@@ -1452,6 +1452,7 @@ nm_setting_wireless_class_init (NMSettingWirelessClass *klass)
|
|||||||
g_param_spec_string (NM_SETTING_WIRELESS_CLONED_MAC_ADDRESS, "", "",
|
g_param_spec_string (NM_SETTING_WIRELESS_CLONED_MAC_ADDRESS, "", "",
|
||||||
NULL,
|
NULL,
|
||||||
G_PARAM_READWRITE |
|
G_PARAM_READWRITE |
|
||||||
|
NM_SETTING_PARAM_INFERRABLE |
|
||||||
G_PARAM_STATIC_STRINGS));
|
G_PARAM_STATIC_STRINGS));
|
||||||
|
|
||||||
_properties_override_add_override (properties_override,
|
_properties_override_add_override (properties_override,
|
||||||
|
Reference in New Issue
Block a user