commit 18ac43c8d8726ddec1ca85c9f87cad8ca1d4d096
parent cff08afd147aefb825b88b4c3bf142632ebd679c
Author: James Prestwood <prestwoj@gmail.com>
Date: Mon, 9 Sep 2019 09:49:13 -0700
hotspot: remove hs20_get_roaming_consortium
Diffstat:
1 file changed, 0 insertions(+), 22 deletions(-)
diff --git a/src/hotspot.c b/src/hotspot.c
@@ -34,7 +34,6 @@
#include "src/common.h"
#include "src/network.h"
#include "src/util.h"
-#include "src/hotspot.h"
#include "src/ie.h"
#include "src/knownnetworks.h"
#include "src/storage.h"
@@ -457,27 +456,6 @@ static void hs20_dir_watch_destroy(void *user_data)
hs20_dir_watch = NULL;
}
-const uint8_t *hs20_get_roaming_consortium(struct network *network,
- size_t *len)
-{
- const struct network_info *info = network_get_info(network);
- struct hs20_config *config;
-
- if (!info || !info->is_hotspot)
- return NULL;
-
- config = l_container_of(info, struct hs20_config, super);
-
- if (config->rc) {
- if (len)
- *len = config->rc_len;
-
- return config->rc;
- }
-
- return NULL;
-}
-
static int hotspot_init(void)
{
DIR *dir;