core: fix properties update for HSR devices

Fixes: 5426bdf4a1 ('HSR: add support to HSR/PRP interface')
This commit is contained in:
Beniamino Galvani
2025-07-04 18:26:59 +02:00
parent 62558d50be
commit 404a3ec853

View File

@@ -94,8 +94,10 @@ update_properties(NMDevice *device)
CHECK_PROPERTY_CHANGED(multicast_spec, PROP_MULTICAST_SPEC); CHECK_PROPERTY_CHANGED(multicast_spec, PROP_MULTICAST_SPEC);
CHECK_PROPERTY_CHANGED(prp, PROP_PRP); CHECK_PROPERTY_CHANGED(prp, PROP_PRP);
if (!nm_ether_addr_equal(&priv->props.supervision_address, &props->supervision_address)) if (!nm_ether_addr_equal(&priv->props.supervision_address, &props->supervision_address)) {
priv->props.supervision_address = props->supervision_address;
_notify(self, PROP_SUPERVISION_ADDRESS); _notify(self, PROP_SUPERVISION_ADDRESS);
}
g_object_thaw_notify((GObject *) device); g_object_thaw_notify((GObject *) device);
} }