3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-29 05:39:24 +01:00

network: remove all hotspot related getter/setters

This commit is contained in:
James Prestwood 2019-08-19 11:12:01 -07:00 committed by Denis Kenzior
parent 7313d3bad7
commit 610ef41578
2 changed files with 0 additions and 33 deletions

View File

@ -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;

View File

@ -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);