mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 04:32:37 +01:00
network: Add network_get_path()
This commit is contained in:
parent
2ccbf65519
commit
beea6897d3
@ -198,6 +198,11 @@ struct netdev *network_get_netdev(struct network *network)
|
|||||||
return network->netdev;
|
return network->netdev;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const char *network_get_path(struct network *network)
|
||||||
|
{
|
||||||
|
return network->object_path;
|
||||||
|
}
|
||||||
|
|
||||||
void network_init()
|
void network_init()
|
||||||
{
|
{
|
||||||
networks = l_queue_new();
|
networks = l_queue_new();
|
||||||
|
@ -43,6 +43,7 @@ double network_rankmod(uint32_t type, const char *ssid);
|
|||||||
|
|
||||||
const char *network_get_ssid(struct network *network);
|
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);
|
||||||
|
|
||||||
void network_init();
|
void network_init();
|
||||||
void network_exit();
|
void network_exit();
|
||||||
|
Loading…
Reference in New Issue
Block a user