commit 610ef41578c1000df77d52d2cb8cb140a31550a7
parent 7313d3bad7b3ee95d65c2e2879e7500efda7f3da
Author: James Prestwood <james.prestwood@linux.intel.com>
Date: Mon, 19 Aug 2019 11:12:01 -0700
network: remove all hotspot related getter/setters
Diffstat:
2 files changed, 0 insertions(+), 33 deletions(-)
diff --git a/src/network.c b/src/network.c
@@ -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;
diff --git a/src/network.h b/src/network.h
@@ -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);