Skip to content
  • Dan Williams's avatar
    core: don't assert in nm_device_get_connection() · 0eb09bc9
    Dan Williams authored
    This function used to be used only from activation paths, so it
    was fine to assert there because we always expected that there
    would be an activation request.  These days we'd like to use it
    in more places, so just return NULL if there's no connection.
    0eb09bc9