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

client: change network_connect param type

Take network proxy object instead of just a path into
network_connect
This commit is contained in:
Tim Kourt 2018-05-31 15:01:35 -07:00 committed by Denis Kenzior
parent b0a681d5b3
commit 0b84e31c40
2 changed files with 2 additions and 5 deletions

View File

@ -55,11 +55,8 @@ bool network_is_connected(const char *path)
return network->connected;
}
void network_connect(const char *path)
void network_connect(const struct proxy_interface *proxy)
{
const struct proxy_interface *proxy =
proxy_interface_find(IWD_NETWORK_INTERFACE, path);
if (!proxy)
return;

View File

@ -26,7 +26,7 @@ struct network_args {
};
bool network_is_connected(const char *path);
void network_connect(const char *path);
void network_connect(const struct proxy_interface *proxy);
struct network_args *network_parse_args(const char *args);
void network_args_destroy(struct network_args *network_args);