libnm-core: add missing notify in sriov setting

This commit is contained in:
Beniamino Galvani 2019-03-20 09:50:06 +01:00
parent 8f2a8a52f0
commit d9143d851d

View file

@ -894,8 +894,10 @@ _nm_setting_sriov_sort_vfs (NMSettingSriov *setting)
}
}
if (need_sort)
if (need_sort) {
g_ptr_array_sort (setting->vfs, vf_index_compare);
_notify (setting, PROP_VFS);
}
return need_sort;
}