From 18ac43c8d8726ddec1ca85c9f87cad8ca1d4d096 Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Mon, 9 Sep 2019 09:49:13 -0700 Subject: [PATCH] hotspot: remove hs20_get_roaming_consortium --- src/hotspot.c | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/src/hotspot.c b/src/hotspot.c index 947150d0..d6a51c81 100644 --- 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;