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_netdev
This commit is contained in:
parent
0847e31542
commit
54574dc153
@ -193,6 +193,11 @@ const char *network_get_ssid(struct network *network)
|
|||||||
return network->ssid;
|
return network->ssid;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
struct netdev *network_get_netdev(struct network *network)
|
||||||
|
{
|
||||||
|
return network->netdev;
|
||||||
|
}
|
||||||
|
|
||||||
void network_init()
|
void network_init()
|
||||||
{
|
{
|
||||||
networks = l_queue_new();
|
networks = l_queue_new();
|
||||||
|
@ -42,6 +42,7 @@ bool network_connected(uint32_t type, const char *ssid);
|
|||||||
double network_rankmod(uint32_t type, const char *ssid);
|
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);
|
||||||
|
|
||||||
void network_init();
|
void network_init();
|
||||||
void network_exit();
|
void network_exit();
|
||||||
|
Loading…
Reference in New Issue
Block a user