mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-21 20:12:37 +01:00
network: Add network_get_psk
This commit is contained in:
parent
9bfa0aa768
commit
93c8a4f090
@ -231,6 +231,11 @@ enum security network_get_security(struct network *network)
|
|||||||
return network->security;
|
return network->security;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const unsigned char *network_get_psk(struct network *network)
|
||||||
|
{
|
||||||
|
return network->psk;
|
||||||
|
}
|
||||||
|
|
||||||
bool network_settings_load(struct network *network)
|
bool network_settings_load(struct network *network)
|
||||||
{
|
{
|
||||||
if (network->settings)
|
if (network->settings)
|
||||||
|
@ -52,6 +52,7 @@ const char *network_get_ssid(struct network *network);
|
|||||||
struct netdev *network_get_netdev(struct network *network);
|
struct netdev *network_get_netdev(struct network *network);
|
||||||
const char *network_get_path(struct network *network);
|
const char *network_get_path(struct network *network);
|
||||||
enum security network_get_security(struct network *network);
|
enum security network_get_security(struct network *network);
|
||||||
|
const unsigned char *network_get_psk(struct network *network);
|
||||||
|
|
||||||
bool network_settings_load(struct network *network);
|
bool network_settings_load(struct network *network);
|
||||||
void network_settings_close(struct network *network);
|
void network_settings_close(struct network *network);
|
||||||
|
Loading…
Reference in New Issue
Block a user