Skip to content
  • Dan Winship's avatar
    devices: make constructors take an NMPlatformLink · b322c0dc
    Dan Winship authored
    Rather than passing UDI, ifname, and driver name to the device
    constructors as separate arguments, just pass the NMPlatformLink
    instead and let it parse them out.
    
    Virtual types still take UDI and ifname separately, since we create
    fake NMDevices for them for autoactivating connections. That's weird
    in other ways too though, so perhaps this should be revisted.
    b322c0dc