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:
parent
93c8a4f090
commit
b79453952c
@ -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)
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user