• Thomas Haller's avatar
    wifi: downgrade logging level and support reloading "wifi-backend" configuration · af6f2e49
    Thomas Haller authored
    NM_CONFIG_GET_DATA_ORIG is the configuration that was loaded the first time.
    NM_CONFIG_GET_DATA is the currently loaded one. Sometimes we want to always
    stick to the original configuration, if we don't support reloading the
    parameter (for example main.plugins, because it would be cumbersome to properly
    implementing loading/unloading setting plugins.
    In this case however, we can allow reloading the configuration just fine.
    Of course, this only matters, if the device appears after the configuration
    is reloaded, for example by reloading the driver.
    Also, don't log any warnings, unless necessary.
nm-wifi-factory.c 5.01 KB