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_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;
|
||||
}
|
||||
|
||||
struct netdev *network_get_netdev(struct network *network)
|
||||
{
|
||||
return network->netdev;
|
||||
}
|
||||
|
||||
void network_init()
|
||||
{
|
||||
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);
|
||||
|
||||
const char *network_get_ssid(struct network *network);
|
||||
struct netdev *network_get_netdev(struct network *network);
|
||||
|
||||
void network_init();
|
||||
void network_exit();
|
||||
|
Loading…
Reference in New Issue
Block a user