From: Jouni Malinen Date: Tue, 17 Apr 2018 13:21:36 +0000 (+0300) Subject: HS 2.0: OSU client to send HomeSP/RoamingConsortiumOI to wpa_supplicant X-Git-Tag: hostap_2_7~422 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2e88032f1b2b177278f1be4ca6716e6cd783b8b3;p=thirdparty%2Fhostap.git 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 --- diff --git a/hs20/client/osu_client.c b/hs20/client/osu_client.c index 1a1cd5f3f..f0ba9ab7d 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); }