mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-20 04:19:25 +01:00
network: Add network_get_security()
This commit is contained in:
parent
f3ad1492c9
commit
b166285f44
@ -203,6 +203,11 @@ const char *network_get_path(struct network *network)
|
||||
return network->object_path;
|
||||
}
|
||||
|
||||
enum security network_get_security(struct network *network)
|
||||
{
|
||||
return network->security;
|
||||
}
|
||||
|
||||
void network_init()
|
||||
{
|
||||
networks = l_queue_new();
|
||||
|
@ -44,6 +44,7 @@ double network_rankmod(uint32_t type, const char *ssid);
|
||||
const char *network_get_ssid(struct network *network);
|
||||
struct netdev *network_get_netdev(struct network *network);
|
||||
const char *network_get_path(struct network *network);
|
||||
enum security network_get_security(struct network *network);
|
||||
|
||||
void network_init();
|
||||
void network_exit();
|
||||
|
Loading…
Reference in New Issue
Block a user