mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-26 09:32:34 +01:00
network: remove all hotspot related getter/setters
This commit is contained in:
parent
7313d3bad7
commit
610ef41578
@ -431,34 +431,6 @@ void network_sync_psk(struct network *network)
|
||||
storage_network_sync(SECURITY_PSK, ssid, network->settings);
|
||||
}
|
||||
|
||||
void network_set_hessid(struct network *network, uint8_t *hessid)
|
||||
{
|
||||
memcpy(network->hessid, hessid, 6);
|
||||
}
|
||||
|
||||
void network_set_nai_realms(struct network *network, char **realms)
|
||||
{
|
||||
if (network->nai_realms)
|
||||
l_strv_free(network->nai_realms);
|
||||
|
||||
network->nai_realms = realms;
|
||||
}
|
||||
|
||||
const uint8_t *network_get_hessid(const struct network *network)
|
||||
{
|
||||
return network->hessid;
|
||||
}
|
||||
|
||||
char **network_get_nai_realms(const struct network *network)
|
||||
{
|
||||
return network->nai_realms;
|
||||
}
|
||||
|
||||
const uint8_t *network_get_roaming_consortium(const struct network *network)
|
||||
{
|
||||
return network->rc_ie;
|
||||
}
|
||||
|
||||
const struct network_info *network_get_info(const struct network *network)
|
||||
{
|
||||
return network->info;
|
||||
|
@ -48,11 +48,6 @@ struct l_settings *network_get_settings(const struct network *network);
|
||||
bool network_set_psk(struct network *network, const uint8_t *psk);
|
||||
void network_sync_psk(struct network *network);
|
||||
|
||||
void network_set_hessid(struct network *network, uint8_t *hessid);
|
||||
void network_set_nai_realms(struct network *network, char **realms);
|
||||
const uint8_t *network_get_hessid(const struct network *network);
|
||||
char **network_get_nai_realms(const struct network *network);
|
||||
const uint8_t *network_get_roaming_consortium(const struct network *network);
|
||||
const struct network_info *network_get_info(const struct network *network);
|
||||
void network_set_info(struct network *network, struct network_info *info);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user