network: add network_get_station
This commit is contained in:
parent
a6c4972290
commit
71384da38f
|
@ -392,6 +392,11 @@ struct l_settings *network_get_settings(const struct network *network)
|
||||||
return network->settings;
|
return network->settings;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
struct station *network_get_station(const struct network *network)
|
||||||
|
{
|
||||||
|
return network->station;
|
||||||
|
}
|
||||||
|
|
||||||
static bool network_set_8021x_secrets(struct network *network)
|
static bool network_set_8021x_secrets(struct network *network)
|
||||||
{
|
{
|
||||||
const struct l_queue_entry *entry;
|
const struct l_queue_entry *entry;
|
||||||
|
|
|
@ -44,6 +44,7 @@ enum security network_get_security(const struct network *network);
|
||||||
bool network_set_passphrase(struct network *network, const char *passphrase);
|
bool network_set_passphrase(struct network *network, const char *passphrase);
|
||||||
int network_get_signal_strength(const struct network *network);
|
int network_get_signal_strength(const struct network *network);
|
||||||
struct l_settings *network_get_settings(const struct network *network);
|
struct l_settings *network_get_settings(const struct network *network);
|
||||||
|
struct station *network_get_station(const struct network *network);
|
||||||
|
|
||||||
bool network_set_psk(struct network *network, const uint8_t *psk);
|
bool network_set_psk(struct network *network, const uint8_t *psk);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue