Skip to content
  • Andrew Zaborowski's avatar
    wifi/iwd: handle new GetOrderedNetworks() return type · 592ee02e
    Andrew Zaborowski authored and Thomas Haller's avatar Thomas Haller committed
    The Station.GetOrderedNetworks dbus method's return type has changed in
    IWD commit 0a42f63d42be903a46c595693884772c1c84d39f as the last incompatible
    API change before IWD 0.8 (docs change was made earlier in
    0453308134a3aadb6a2ec6a78ea642e19427704c) so that network names and
    types are no longer included in the reply.  Expect this new reply
    signature although still handle the old signature if we're using the
    Device interface for IWD <= 0.7 compatibility.
    
    It may be good idea to eventually pass the object manager instance from
    nm-iwd-manager.c to nm-device-iwd.c to avoid using g_dbus_proxy_new_sync
    and g_dbus_proxy_new_for_bus_sync in act_stage2_config, which possibly
    generates a lot of DBus property queries.
    
    https://github.com/NetworkManager/NetworkManager/pull/197
    (cherry picked from commit 32506c87)
    592ee02e