aboutsummaryrefslogtreecommitdiffstats
path: root/hs20
diff options
context:
space:
mode:
authorJouni Malinen <jouni@codeaurora.org>2018-04-17 13:21:36 (GMT)
committerJouni Malinen <j@w1.fi>2018-04-17 13:40:47 (GMT)
commit2e88032f1b2b177278f1be4ca6716e6cd783b8b3 (patch)
tree52217c7fd39be2e96763b39cd31d8b838009b9f4 /hs20
parent53fa04e197a4edc26e74b874147f4165f9c52506 (diff)
downloadhostap-2e88032f1b2b177278f1be4ca6716e6cd783b8b3.zip
hostap-2e88032f1b2b177278f1be4ca6716e6cd783b8b3.tar.gz
hostap-2e88032f1b2b177278f1be4ca6716e6cd783b8b3.tar.bz2
HS 2.0: OSU client to send HomeSP/RoamingConsortiumOI to wpa_supplicant
This adds mapping of the PPS MO HomeSP/RoamingConsortiumOI leaf node value into the wpa_supplicant cred block parameter roaming_consortiums. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Diffstat (limited to 'hs20')
-rw-r--r--hs20/client/osu_client.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/hs20/client/osu_client.c b/hs20/client/osu_client.c
index 1a1cd5f..f0ba9ab 100644
--- a/hs20/client/osu_client.c
+++ b/hs20/client/osu_client.c
@@ -1308,7 +1308,9 @@ static void set_pps_cred_home_sp_roaming_consortium_oi(
if (str == NULL)
return;
wpa_printf(MSG_INFO, "- HomeSP/RoamingConsortiumOI = %s", str);
- /* TODO: Set to wpa_supplicant */
+ if (set_cred_quoted(ctx->ifname, id, "roaming_consortiums",
+ str) < 0)
+ wpa_printf(MSG_INFO, "Failed to set cred roaming_consortiums");
xml_node_get_text_free(ctx->xml, str);
}