3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 21:22:37 +01:00

client: fix dependency unbind logic

This commit is contained in:
Tim Kourt 2017-05-19 15:13:43 -07:00 committed by Denis Kenzior
parent e42aee89b1
commit 02f47a164c

View File

@ -360,13 +360,13 @@ static void proxy_interface_unbind_dependencies(
!dependency->type->ops->unbind_interface)
continue;
if (dependency->type->ops->unbind_interface(proxy, dependency))
if (dependency->type->ops->unbind_interface(dependency, proxy))
continue;
error = l_strdup_printf("Interface %s does not support "
"dependency %s\n",
proxy->type->interface,
dependency->type->interface);
dependency->type->interface,
proxy->type->interface);
display_error(error);
l_free(error);
}