mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-22 13:02:44 +01:00
hotspot: remove hs20_get_roaming_consortium
This commit is contained in:
parent
cff08afd14
commit
18ac43c8d8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user