Skip to content
  • Benjamin Berg's avatar
    libnm: Fix reporting of unknown device types · 6b2aaba6
    Benjamin Berg authored and Thomas Haller's avatar Thomas Haller committed
    nm_device_get_device_type would report the device type as it was send on
    DBus, while fetching the property would mean that only a known device
    types is reported.
    
    Make both results consistent by coercing in nm_device_get_device_type
    rather than when setting the property.
    
    (cherry picked from commit a6a185ba)
    6b2aaba6