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

network: Add network_get_settings

This commit is contained in:
Denis Kenzior 2016-05-16 14:36:32 -05:00
parent 93c8a4f090
commit b79453952c
2 changed files with 6 additions and 0 deletions

View File

@ -236,6 +236,11 @@ const unsigned char *network_get_psk(struct network *network)
return network->psk;
}
struct l_settings *network_get_settings(struct network *network)
{
return network->settings;
}
bool network_settings_load(struct network *network)
{
if (network->settings)

View File

@ -53,6 +53,7 @@ struct netdev *network_get_netdev(struct network *network);
const char *network_get_path(struct network *network);
enum security network_get_security(struct network *network);
const unsigned char *network_get_psk(struct network *network);
struct l_settings *network_get_settings(struct network *network);
bool network_settings_load(struct network *network);
void network_settings_close(struct network *network);