mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-23 06:02:37 +01:00
client: fix dependency unbind logic
This commit is contained in:
parent
e42aee89b1
commit
02f47a164c
@ -360,13 +360,13 @@ static void proxy_interface_unbind_dependencies(
|
|||||||
!dependency->type->ops->unbind_interface)
|
!dependency->type->ops->unbind_interface)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (dependency->type->ops->unbind_interface(proxy, dependency))
|
if (dependency->type->ops->unbind_interface(dependency, proxy))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
error = l_strdup_printf("Interface %s does not support "
|
error = l_strdup_printf("Interface %s does not support "
|
||||||
"dependency %s\n",
|
"dependency %s\n",
|
||||||
proxy->type->interface,
|
dependency->type->interface,
|
||||||
dependency->type->interface);
|
proxy->type->interface);
|
||||||
display_error(error);
|
display_error(error);
|
||||||
l_free(error);
|
l_free(error);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user