mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 23:09:34 +01:00
network: Add network_get_ssid
This commit is contained in:
parent
414bc3198d
commit
9e4200f2f3
@ -188,6 +188,11 @@ double network_rankmod(uint32_t type, const char *ssid)
|
||||
return 0.0;
|
||||
}
|
||||
|
||||
const char *network_get_ssid(struct network *network)
|
||||
{
|
||||
return network->ssid;
|
||||
}
|
||||
|
||||
void network_init()
|
||||
{
|
||||
networks = l_queue_new();
|
||||
|
@ -41,5 +41,7 @@ bool network_seen(uint32_t type, const char *ssid);
|
||||
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);
|
||||
|
||||
void network_init();
|
||||
void network_exit();
|
||||
|
Loading…
Reference in New Issue
Block a user